#    Copyright 2012 Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPGIS.
#    COOPGIS is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPGIS is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPGIS.  If not, see <http://www.gnu.org/licenses/>.

import os, csv, shutil, datetime, time, reportlab
from django.contrib.gis.db import models
from django.http import HttpResponse
from django.contrib import admin


#"AmiBackup"."Amrcommfail" had 42 rows.
class AmiBackupAmrcommfail(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    utilacctid = models.IntegerField(null=True, blank=True)
    serialnumber = models.IntegerField(null=True, blank=True)
    serialport = models.IntegerField(null=True, blank=True)
    firstcommdt = models.DateTimeField(null=True, blank=True)
    currcommdt = models.DateTimeField(null=True, blank=True)
    commfailcount = models.IntegerField(null=True, blank=True)
    subid = models.IntegerField(null=True, blank=True)
    busid = models.IntegerField(null=True, blank=True)
    fdrid = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"ami_backup"."amrcommfail"'
        app_label='djangoproject'

#"AmiBackup"."Mtr" had 17488 rows.
class AmiBackupMtr(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    account = models.CharField(max_length=-1)
    name = models.CharField(max_length=-1, blank=True)
    meter = models.CharField(max_length=-1, blank=True)
    maplocation = models.CharField(max_length=-1, blank=True)
    displayindex = models.IntegerField(null=True, blank=True)
    displaylevel = models.IntegerField(null=True, blank=True)
    twfunc = models.IntegerField(null=True, blank=True)
    twgrp = models.IntegerField(null=True, blank=True)
    amrnbr = models.CharField(max_length=-1, blank=True)
    tw_compath = models.CharField(max_length=-1, blank=True)
    lastpingtimestamp = models.DateTimeField(null=True, blank=True)
    last_blink_process = models.DateField(null=True, blank=True)
    lastcount = models.IntegerField(null=True, blank=True)
    blk_1 = models.IntegerField(null=True, blank=True)
    blk_2 = models.IntegerField(null=True, blank=True)
    blk_3 = models.IntegerField(null=True, blank=True)
    blk_4 = models.IntegerField(null=True, blank=True)
    blk_5 = models.IntegerField(null=True, blank=True)
    blk_6 = models.IntegerField(null=True, blank=True)
    blk_7 = models.IntegerField(null=True, blank=True)
    accum_blk_1 = models.IntegerField(null=True, blank=True)
    accum_blk_2 = models.IntegerField(null=True, blank=True)
    accum_blk_3 = models.IntegerField(null=True, blank=True)
    accum_blk_4 = models.IntegerField(null=True, blank=True)
    accum_blk_5 = models.IntegerField(null=True, blank=True)
    accum_blk_6 = models.IntegerField(null=True, blank=True)
    accum_blk_7 = models.IntegerField(null=True, blank=True)
    accum_blk_8 = models.IntegerField(null=True, blank=True)
    outages_1 = models.IntegerField(null=True, blank=True)
    outages_2 = models.IntegerField(null=True, blank=True)
    outages_3 = models.IntegerField(null=True, blank=True)
    outages_4 = models.IntegerField(null=True, blank=True)
    outages_5 = models.IntegerField(null=True, blank=True)
    outages_6 = models.IntegerField(null=True, blank=True)
    outages_7 = models.IntegerField(null=True, blank=True)
    trbbit_1 = models.IntegerField(null=True, blank=True)
    trbbit_2 = models.IntegerField(null=True, blank=True)
    trbbit_3 = models.IntegerField(null=True, blank=True)
    trbbit_4 = models.IntegerField(null=True, blank=True)
    trbbit_5 = models.IntegerField(null=True, blank=True)
    trbbit_6 = models.IntegerField(null=True, blank=True)
    trbbit_7 = models.IntegerField(null=True, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    amr_subid = models.IntegerField(null=True, blank=True)
    amr_busid = models.IntegerField(null=True, blank=True)
    amr_fdrid = models.IntegerField(null=True, blank=True)
    amr_phase = models.IntegerField(null=True, blank=True)
    cis_subno = models.IntegerField(null=True, blank=True)
    cis_fdrno = models.IntegerField(null=True, blank=True)
    cis_phase = models.IntegerField(null=True, blank=True)
    cis_linesection = models.CharField(max_length=-1, blank=True)
    oms_subno = models.IntegerField(null=True, blank=True)
    oms_fdrno = models.IntegerField(null=True, blank=True)
    oms_phase = models.CharField(max_length=-1, blank=True)
    oms_linesection = models.CharField(max_length=-1, blank=True)
    duplicated_meter = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"ami_backup"."mtr"'
        app_label='djangoproject'

#"AmiBackup"."MtrBlinkCounts" had 127721 rows.
class AmiBackupMtrBlinkCounts(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serialnumber = models.DecimalField(null=True, max_digits=20, decimal_places=0, blank=True)
    read_time = models.DateTimeField(null=True, blank=True)
    blink_count = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"ami_backup"."mtr_blink_counts"'
        app_label='djangoproject'

#"AmiBackup"."MtrPointstatus" had 13 rows.
class AmiBackupMtrPointstatus(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    subid = models.IntegerField(null=True, blank=True)
    subname = models.CharField(max_length=-1, blank=True)
    substate = models.IntegerField(null=True, blank=True)
    substatus = models.IntegerField(null=True, blank=True)
    lastupdated = models.DateTimeField(null=True, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"ami_backup"."mtr_pointstatus"'
        app_label='djangoproject'

#"AmiBackup"."MtrStats" had 1 rows.
class AmiBackupMtrStats(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    meter_build_datetime = models.DateTimeField(null=True, blank=True)
    build_results = models.CharField(max_length=-1, blank=True)
    twacs_serialnumber_table = models.IntegerField(null=True, blank=True)
    twacs_meteraccts_table = models.IntegerField(null=True, blank=True)
    twacs_mtr_blink_counts_table = models.IntegerField(null=True, blank=True)
    oms_customer_table = models.IntegerField(null=True, blank=True)
    oms_lineconnectivity_table = models.IntegerField(null=True, blank=True)
    oms_subfdrphasels_updated = models.IntegerField(null=True, blank=True)
    mtr_mtr_table = models.IntegerField(null=True, blank=True)
    mtr_meterswithblinks = models.IntegerField(null=True, blank=True)
    mtr_meterswithnoblinks = models.IntegerField(null=True, blank=True)
    mtr_mtr_blink_count_table = models.IntegerField(null=True, blank=True)
    mtr_meterswithgeometry = models.IntegerField(null=True, blank=True)
    lsqlposted = models.IntegerField(null=True, blank=True)
    lupdateskipped = models.IntegerField(null=True, blank=True)
    lsqlfailed = models.IntegerField(null=True, blank=True)
    totalcissubstationexceptions = models.IntegerField(null=True, blank=True)
    totalcisphaseexceptions = models.IntegerField(null=True, blank=True)
    todaystxtfile = models.CharField(max_length=-1, blank=True)
    ltodaysmrwithblks = models.IntegerField(null=True, blank=True)
    ltodaystotalblks = models.IntegerField(null=True, blank=True)
    day1txtfile = models.CharField(max_length=-1, blank=True)
    day1mtrwithblks = models.IntegerField(null=True, blank=True)
    day1totalblks = models.IntegerField(null=True, blank=True)
    day2txtfile = models.CharField(max_length=-1, blank=True)
    day2mtrwithblks = models.IntegerField(null=True, blank=True)
    day2totalblks = models.IntegerField(null=True, blank=True)
    day3txtfile = models.CharField(max_length=-1, blank=True)
    day3mtrwithblks = models.IntegerField(null=True, blank=True)
    day3totalblks = models.IntegerField(null=True, blank=True)
    day4txtfile = models.CharField(max_length=-1, blank=True)
    day4mtrwithblks = models.IntegerField(null=True, blank=True)
    day4totalblks = models.IntegerField(null=True, blank=True)
    day5txtfile = models.CharField(max_length=-1, blank=True)
    day5mtrwithblks = models.IntegerField(null=True, blank=True)
    day5totalblks = models.IntegerField(null=True, blank=True)
    day6txtfile = models.CharField(max_length=-1, blank=True)
    day6mtrwithblks = models.IntegerField(null=True, blank=True)
    day6totalblks = models.IntegerField(null=True, blank=True)
    day7txtfile = models.CharField(max_length=-1, blank=True)
    day7mtrwithblks = models.IntegerField(null=True, blank=True)
    day7totalblks = models.IntegerField(null=True, blank=True)
    outcmdtablesize = models.IntegerField(null=True, blank=True)
    tctpingresplogsize = models.IntegerField(null=True, blank=True)
    tctvoltresplogsize = models.IntegerField(null=True, blank=True)
    lastconnectfailed = models.DateTimeField(null=True, blank=True)
    lasttimecheck = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"ami_backup"."mtr_stats"'
        app_label='djangoproject'

#"AmiBackup"."Phaseconv" had 169 rows.
class AmiBackupPhaseconv(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    subid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    busid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    fdrid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    twacsphase = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    customerphase = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"ami_backup"."phaseconv"'
        app_label='djangoproject'

#"AmiBackup"."Phasexref" had 4 rows.
class AmiBackupPhasexref(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    phasename = models.CharField(max_length=-1, blank=True)
    phasenumber = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"ami_backup"."phasexref"'
        app_label='djangoproject'

#"AmiBackup"."Serialnumber" had 17518 rows.
class AmiBackupSerialnumber(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serialnumber = models.IntegerField(null=True, blank=True)
    subid = models.IntegerField(null=True, blank=True)
    busid = models.IntegerField(null=True, blank=True)
    fdrid = models.IntegerField(null=True, blank=True)
    phase = models.IntegerField(null=True, blank=True)
    signal = models.IntegerField(null=True, blank=True)
    detection = models.IntegerField(null=True, blank=True)
    meternumber = models.CharField(max_length=-1, blank=True)
    tw_compath = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"ami_backup"."serialnumber"'
        app_label='djangoproject'

#"AmiBackup"."Trbdetail" had 19077 rows.
class AmiBackupTrbdetail(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serialnumber = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    serialport = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    utilacctid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbflagid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbflag = models.CharField(max_length=-1, blank=True)
    trbbit = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbbitdesc = models.CharField(max_length=-1, blank=True)
    trbreverserotation = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbreportdatetime = models.CharField(max_length=-1, blank=True)
    trbprocstatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbprocdatetime = models.DateTimeField(null=True, blank=True)
    trbreportcount = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbcmdid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbreset = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbresetdatetime = models.DateTimeField(null=True, blank=True)
    trbproctnsstatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbprocscestatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbprocrcestatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"ami_backup"."trbdetail"'
        app_label='djangoproject'

#"AmiProduction"."Amrcommfail" had 44 rows.
class AmiProductionAmrcommfail(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    utilacctid = models.IntegerField(null=True, blank=True)
    serialnumber = models.IntegerField(null=True, blank=True)
    serialport = models.IntegerField(null=True, blank=True)
    firstcommdt = models.DateTimeField(null=True, blank=True)
    currcommdt = models.DateTimeField(null=True, blank=True)
    commfailcount = models.IntegerField(null=True, blank=True)
    subid = models.IntegerField(null=True, blank=True)
    busid = models.IntegerField(null=True, blank=True)
    fdrid = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"ami_production"."amrcommfail"'
        app_label='djangoproject'

#"AmiProduction"."Mtr" had 17488 rows.
class AmiProductionMtr(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    account = models.CharField(max_length=-1)
    name = models.CharField(max_length=-1, blank=True)
    meter = models.CharField(max_length=-1, blank=True)
    maplocation = models.CharField(max_length=-1, blank=True)
    displayindex = models.IntegerField(null=True, blank=True)
    displaylevel = models.IntegerField(null=True, blank=True)
    twfunc = models.IntegerField(null=True, blank=True)
    twgrp = models.IntegerField(null=True, blank=True)
    amrnbr = models.CharField(max_length=-1, blank=True)
    tw_compath = models.CharField(max_length=-1, blank=True)
    lastpingtimestamp = models.DateTimeField(null=True, blank=True)
    last_blink_process = models.DateField(null=True, blank=True)
    lastcount = models.IntegerField(null=True, blank=True)
    blk_1 = models.IntegerField(null=True, blank=True)
    blk_2 = models.IntegerField(null=True, blank=True)
    blk_3 = models.IntegerField(null=True, blank=True)
    blk_4 = models.IntegerField(null=True, blank=True)
    blk_5 = models.IntegerField(null=True, blank=True)
    blk_6 = models.IntegerField(null=True, blank=True)
    blk_7 = models.IntegerField(null=True, blank=True)
    accum_blk_1 = models.IntegerField(null=True, blank=True)
    accum_blk_2 = models.IntegerField(null=True, blank=True)
    accum_blk_3 = models.IntegerField(null=True, blank=True)
    accum_blk_4 = models.IntegerField(null=True, blank=True)
    accum_blk_5 = models.IntegerField(null=True, blank=True)
    accum_blk_6 = models.IntegerField(null=True, blank=True)
    accum_blk_7 = models.IntegerField(null=True, blank=True)
    accum_blk_8 = models.IntegerField(null=True, blank=True)
    outages_1 = models.IntegerField(null=True, blank=True)
    outages_2 = models.IntegerField(null=True, blank=True)
    outages_3 = models.IntegerField(null=True, blank=True)
    outages_4 = models.IntegerField(null=True, blank=True)
    outages_5 = models.IntegerField(null=True, blank=True)
    outages_6 = models.IntegerField(null=True, blank=True)
    outages_7 = models.IntegerField(null=True, blank=True)
    trbbit_1 = models.IntegerField(null=True, blank=True)
    trbbit_2 = models.IntegerField(null=True, blank=True)
    trbbit_3 = models.IntegerField(null=True, blank=True)
    trbbit_4 = models.IntegerField(null=True, blank=True)
    trbbit_5 = models.IntegerField(null=True, blank=True)
    trbbit_6 = models.IntegerField(null=True, blank=True)
    trbbit_7 = models.IntegerField(null=True, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    amr_subid = models.IntegerField(null=True, blank=True)
    amr_busid = models.IntegerField(null=True, blank=True)
    amr_fdrid = models.IntegerField(null=True, blank=True)
    amr_phase = models.IntegerField(null=True, blank=True)
    cis_subno = models.IntegerField(null=True, blank=True)
    cis_fdrno = models.IntegerField(null=True, blank=True)
    cis_phase = models.IntegerField(null=True, blank=True)
    cis_linesection = models.CharField(max_length=-1, blank=True)
    oms_subno = models.IntegerField(null=True, blank=True)
    oms_fdrno = models.IntegerField(null=True, blank=True)
    oms_phase = models.CharField(max_length=-1, blank=True)
    oms_linesection = models.CharField(max_length=-1, blank=True)
    duplicated_meter = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"ami_production"."mtr"'
        app_label='djangoproject'

#"AmiProduction"."MtrBlinkCounts" had 127648 rows.
class AmiProductionMtrBlinkCounts(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serialnumber = models.DecimalField(null=True, max_digits=20, decimal_places=0, blank=True)
    read_time = models.DateTimeField(null=True, blank=True)
    blink_count = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"ami_production"."mtr_blink_counts"'
        app_label='djangoproject'

#"AmiProduction"."MtrPointstatus" had 13 rows.
class AmiProductionMtrPointstatus(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    subid = models.IntegerField(null=True, blank=True)
    subname = models.CharField(max_length=-1, blank=True)
    substate = models.IntegerField(null=True, blank=True)
    substatus = models.IntegerField(null=True, blank=True)
    lastupdated = models.DateTimeField(null=True, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"ami_production"."mtr_pointstatus"'
        app_label='djangoproject'

#"AmiProduction"."MtrStats" had 1 rows.
class AmiProductionMtrStats(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    meter_build_datetime = models.DateTimeField(null=True, blank=True)
    build_results = models.CharField(max_length=-1, blank=True)
    twacs_serialnumber_table = models.IntegerField(null=True, blank=True)
    twacs_meteraccts_table = models.IntegerField(null=True, blank=True)
    twacs_mtr_blink_counts_table = models.IntegerField(null=True, blank=True)
    oms_customer_table = models.IntegerField(null=True, blank=True)
    oms_lineconnectivity_table = models.IntegerField(null=True, blank=True)
    oms_subfdrphasels_updated = models.IntegerField(null=True, blank=True)
    mtr_mtr_table = models.IntegerField(null=True, blank=True)
    mtr_meterswithblinks = models.IntegerField(null=True, blank=True)
    mtr_meterswithnoblinks = models.IntegerField(null=True, blank=True)
    mtr_mtr_blink_count_table = models.IntegerField(null=True, blank=True)
    mtr_meterswithgeometry = models.IntegerField(null=True, blank=True)
    lsqlposted = models.IntegerField(null=True, blank=True)
    lupdateskipped = models.IntegerField(null=True, blank=True)
    lsqlfailed = models.IntegerField(null=True, blank=True)
    totalcissubstationexceptions = models.IntegerField(null=True, blank=True)
    totalcisphaseexceptions = models.IntegerField(null=True, blank=True)
    todaystxtfile = models.CharField(max_length=-1, blank=True)
    ltodaysmrwithblks = models.IntegerField(null=True, blank=True)
    ltodaystotalblks = models.IntegerField(null=True, blank=True)
    day1txtfile = models.CharField(max_length=-1, blank=True)
    day1mtrwithblks = models.IntegerField(null=True, blank=True)
    day1totalblks = models.IntegerField(null=True, blank=True)
    day2txtfile = models.CharField(max_length=-1, blank=True)
    day2mtrwithblks = models.IntegerField(null=True, blank=True)
    day2totalblks = models.IntegerField(null=True, blank=True)
    day3txtfile = models.CharField(max_length=-1, blank=True)
    day3mtrwithblks = models.IntegerField(null=True, blank=True)
    day3totalblks = models.IntegerField(null=True, blank=True)
    day4txtfile = models.CharField(max_length=-1, blank=True)
    day4mtrwithblks = models.IntegerField(null=True, blank=True)
    day4totalblks = models.IntegerField(null=True, blank=True)
    day5txtfile = models.CharField(max_length=-1, blank=True)
    day5mtrwithblks = models.IntegerField(null=True, blank=True)
    day5totalblks = models.IntegerField(null=True, blank=True)
    day6txtfile = models.CharField(max_length=-1, blank=True)
    day6mtrwithblks = models.IntegerField(null=True, blank=True)
    day6totalblks = models.IntegerField(null=True, blank=True)
    day7txtfile = models.CharField(max_length=-1, blank=True)
    day7mtrwithblks = models.IntegerField(null=True, blank=True)
    day7totalblks = models.IntegerField(null=True, blank=True)
    outcmdtablesize = models.IntegerField(null=True, blank=True)
    tctpingresplogsize = models.IntegerField(null=True, blank=True)
    tctvoltresplogsize = models.IntegerField(null=True, blank=True)
    lastconnectfailed = models.DateTimeField(null=True, blank=True)
    lasttimecheck = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"ami_production"."mtr_stats"'
        app_label='djangoproject'

#"AmiProduction"."Phaseconv" had 169 rows.
class AmiProductionPhaseconv(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    subid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    busid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    fdrid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    twacsphase = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    customerphase = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"ami_production"."phaseconv"'
        app_label='djangoproject'

#"AmiProduction"."Phasexref" had 4 rows.
class AmiProductionPhasexref(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    phasename = models.CharField(max_length=-1, blank=True)
    phasenumber = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"ami_production"."phasexref"'
        app_label='djangoproject'

#"AmiProduction"."Serialnumber" had 17514 rows.
class AmiProductionSerialnumber(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serialnumber = models.IntegerField(null=True, blank=True)
    subid = models.IntegerField(null=True, blank=True)
    busid = models.IntegerField(null=True, blank=True)
    fdrid = models.IntegerField(null=True, blank=True)
    phase = models.IntegerField(null=True, blank=True)
    signal = models.IntegerField(null=True, blank=True)
    detection = models.IntegerField(null=True, blank=True)
    meternumber = models.CharField(max_length=-1, blank=True)
    tw_compath = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"ami_production"."serialnumber"'
        app_label='djangoproject'

#"AmiProduction"."Trbdetail" had 19099 rows.
class AmiProductionTrbdetail(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serialnumber = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    serialport = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    utilacctid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbflagid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbflag = models.CharField(max_length=-1, blank=True)
    trbbit = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbbitdesc = models.CharField(max_length=-1, blank=True)
    trbreverserotation = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbreportdatetime = models.CharField(max_length=-1, blank=True)
    trbprocstatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbprocdatetime = models.DateTimeField(null=True, blank=True)
    trbreportcount = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbcmdid = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbreset = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbresetdatetime = models.DateTimeField(null=True, blank=True)
    trbproctnsstatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbprocscestatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    trbprocrcestatus = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"ami_production"."trbdetail"'
        app_label='djangoproject'

#"Config"."Sysconfig" had 495 rows.
class ConfigSysconfig(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=-1)
    value = models.CharField(max_length=-1, blank=True)
    default_value = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    value_type = models.CharField(max_length=-1, blank=True)
    last_change_date = models.DateTimeField(null=True, blank=True)
    edited_by = models.CharField(max_length=-1, blank=True)
    scope = models.CharField(max_length=16, blank=True)
    class Meta:
        db_table = '"config"."sysconfig"'
        app_label='djangoproject'

#"Config"."TextTemplates" had 9 rows.
class ConfigTextTemplates(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField()
    template_type = models.CharField(max_length=-1)
    template_module = models.CharField(max_length=-1)
    template_use = models.CharField(max_length=-1)
    template_text = models.CharField(max_length=-1, blank=True)
    template_text_default = models.CharField(max_length=-1)
    template_keywords = models.CharField(max_length=-1)
    last_modified = models.DateTimeField(null=True, blank=True)
    last_modified_by = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config"."text_templates"'
        app_label='djangoproject'

#"Config"."WidgetConfig" had 27 rows.
class ConfigWidgetConfig(models.Model):
    using = 'oms'
    widget_name = models.CharField(primary_key=True, max_length=-1)
    portal = models.CharField(max_length=-1)
    window_id = models.DecimalField(max_digits=65535, decimal_places=65535)
    left_position = models.DecimalField(max_digits=65535, decimal_places=65535)
    top_position = models.DecimalField(max_digits=65535, decimal_places=65535)
    widget_height = models.DecimalField(max_digits=65535, decimal_places=65535)
    widget_width = models.DecimalField(max_digits=65535, decimal_places=65535)
    refresh_rate = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    checkbox_name = models.CharField(max_length=-1, blank=True)
    auto_refresh = models.CharField(max_length=-1)
    visible = models.CharField(max_length=-1)
    widget_type = models.CharField(max_length=-1, blank=True)
    parameters = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config"."widget_config"'
        app_label='djangoproject'

#"Config"."WidgetStyleParams" had 24 rows.
class ConfigWidgetStyleParams(models.Model):
    using = 'oms'
    portal = models.CharField(primary_key=True, max_length=-1)
    name = models.CharField(max_length=-1)
    value = models.CharField(max_length=-1, blank=True)
    default = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config"."widget_style_params"'
        app_label='djangoproject'

#"ConfigGis"."AutoBank" had 1 rows.
class ConfigGisAutoBank(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    gostablename = models.CharField(max_length=-1)
    enettype = models.CharField(max_length=-1, blank=True)
    bank_enettype = models.CharField(max_length=-1, blank=True)
    bank_enetworkid_prefix = models.CharField(max_length=-1, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."auto_bank"'
        app_label='djangoproject'

#"ConfigGis"."ConnFieldConvs" had 11 rows.
class ConfigGisConnFieldConvs(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    gos_columnname = models.CharField(max_length=64, blank=True)
    orig_columnvalue = models.CharField(max_length=64, blank=True)
    normalized_columnvalue = models.CharField(max_length=64, blank=True)
    comment = models.CharField(max_length=-1, blank=True)
    human_approved = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."conn_field_convs"'
        app_label='djangoproject'

#"ConfigGis"."ConnMods" had 10 rows.
class ConfigGisConnMods(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    gos_tablename = models.CharField(max_length=64, blank=True)
    gos_columnname = models.CharField(max_length=64, blank=True)
    gos_columnvalue = models.CharField(max_length=64, blank=True)
    set_fields_sql = models.CharField(max_length=-1, blank=True)
    processing_order = models.IntegerField()
    split_tablename = models.CharField(max_length=64, blank=True)
    split_columnname = models.CharField(max_length=64, blank=True)
    split_columnvalue = models.CharField(max_length=64, blank=True)
    comment = models.CharField(max_length=-1, blank=True)
    auto_mod = models.NullBooleanField(null=True, blank=True)
    human_approved = models.NullBooleanField(null=True, blank=True)
    last_attempt_successful = models.NullBooleanField(null=True, blank=True)
    last_attempt_error = models.CharField(max_length=-1, blank=True)
    orig_geodata = models.LineStringField(srid=26917, null=True, blank=True)
    new_geodata_1 = models.LineStringField(srid=26917, null=True, blank=True)
    new_geodata_2 = models.LineStringField(srid=26917, null=True, blank=True)
    new_enetworkid_1 = models.CharField(max_length=64, blank=True)
    new_enetworkid_2 = models.CharField(max_length=64, blank=True)
    gos_columnop = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"config_gis"."conn_mods"'
        app_label='djangoproject'

#"ConfigGis"."ConnRules" had 17 rows.
class ConfigGisConnRules(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    gos_tablename = models.CharField(max_length=64)
    gos_parent_tablename = models.CharField(max_length=64, blank=True)
    gos_search_tablename = models.CharField(max_length=64, blank=True)
    buffer = models.FloatField(null=True, blank=True)
    gos_stop_tablename = models.CharField(max_length=64, blank=True)
    search_output = models.CharField(max_length=8, blank=True)
    processing_order = models.IntegerField(null=True, blank=True)
    enforce_phase = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."conn_rules"'
        app_label='djangoproject'

#"ConfigGis"."ConnSources" had 1 rows.
class ConfigGisConnSources(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    gos_tablename = models.CharField(max_length=64)
    gos_columnname = models.CharField(max_length=64, blank=True)
    gos_columnvalue = models.CharField(max_length=64, blank=True)
    output_flag = models.CharField(max_length=1, blank=True)
    class Meta:
        db_table = '"config_gis"."conn_sources"'
        app_label='djangoproject'

#"ConfigGis"."ConnTables" had 8 rows.
class ConfigGisConnTables(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    gos_tablename = models.CharField(max_length=64)
    output = models.NullBooleanField(null=True, blank=True)
    network_type = models.CharField(max_length=16, blank=True)
    allow_alt_phasing = models.NullBooleanField(null=True, blank=True)
    alt_phasing_buffer = models.FloatField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."conn_tables"'
        app_label='djangoproject'

#"ConfigGis"."DataReconciliation" had 108702 rows.
class ConfigGisDataReconciliation(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    step_num = models.IntegerField()
    seq_num = models.IntegerField()
    description = models.CharField(max_length=-1)
    long_description = models.CharField(max_length=-1)
    count = models.IntegerField()
    prior_count = models.IntegerField(null=True, blank=True)
    allowance = models.IntegerField(null=True, blank=True)
    out_of_allowance = models.NullBooleanField(null=True, blank=True)
    override_by = models.CharField(max_length=-1, blank=True)
    override_time = models.DateTimeField(null=True, blank=True)
    variance = models.IntegerField(null=True, blank=True)
    in_current = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."data_reconciliation"'
        app_label='djangoproject'

#"ConfigGis"."EaOutputfields" had 224 rows.
class ConfigGisEaOutputfields(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    ea_schema_tablename = models.CharField(max_length=-1, blank=True)
    ea_output_fieldnum = models.IntegerField()
    selection_from_join = models.CharField(max_length=-1)
    class Meta:
        db_table = '"config_gis"."ea_outputfields"'
        app_label='djangoproject'

#"ConfigGis"."Gis2GosConversion" had 24 rows.
class ConfigGisGis2GosConversion(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    gostablename = models.CharField(max_length=-1, blank=True)
    geometrytype = models.CharField(max_length=-1, blank=True)
    prefix_enetworkid = models.CharField(max_length=-1, blank=True)
    enabled = models.SmallIntegerField(null=True, blank=True)
    column1gis = models.CharField(max_length=-1, blank=True)
    column1gos = models.CharField(max_length=-1, blank=True)
    column2gis = models.CharField(max_length=-1, blank=True)
    column2gos = models.CharField(max_length=-1, blank=True)
    column3gis = models.CharField(max_length=-1, blank=True)
    column3gos = models.CharField(max_length=-1, blank=True)
    column4gis = models.CharField(max_length=-1, blank=True)
    column4gos = models.CharField(max_length=-1, blank=True)
    column5gis = models.CharField(max_length=-1, blank=True)
    column5gos = models.CharField(max_length=-1, blank=True)
    column6gis = models.CharField(max_length=-1, blank=True)
    column6gos = models.CharField(max_length=-1, blank=True)
    column7gis = models.CharField(max_length=-1, blank=True)
    column7gos = models.CharField(max_length=-1, blank=True)
    column8gis = models.CharField(max_length=-1, blank=True)
    column8gos = models.CharField(max_length=-1, blank=True)
    column9gis = models.CharField(max_length=-1, blank=True)
    column9gos = models.CharField(max_length=-1, blank=True)
    column10gis = models.CharField(max_length=-1, blank=True)
    column10gos = models.CharField(max_length=-1, blank=True)
    column11gis = models.CharField(max_length=-1, blank=True)
    column11gos = models.CharField(max_length=-1, blank=True)
    column12gis = models.CharField(max_length=-1, blank=True)
    column12gos = models.CharField(max_length=-1, blank=True)
    column13gis = models.CharField(max_length=-1, blank=True)
    column13gos = models.CharField(max_length=-1, blank=True)
    column14gis = models.CharField(max_length=-1, blank=True)
    column14gos = models.CharField(max_length=-1, blank=True)
    column15gis = models.CharField(max_length=-1, blank=True)
    column15gos = models.CharField(max_length=-1, blank=True)
    whereclause = models.CharField(max_length=-1, blank=True)
    gisbuildcount = models.IntegerField(null=True, blank=True)
    is_landbase = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."gis2gos_conversion"'
        app_label='djangoproject'

#"ConfigGis"."GisPublisher" had 476274 rows.
class ConfigGisGisPublisher(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField(null=True, blank=True)
    thread_id = models.IntegerField(null=True, blank=True)
    type = models.CharField(max_length=32, blank=True)
    text = models.CharField(max_length=-1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."gis_publisher"'
        app_label='djangoproject'

#"ConfigGis"."Gistables" had 16 rows.
class ConfigGisGistables(models.Model):
    using = 'oms'
    gistablename = models.CharField(primary_key=True, max_length=-1)
    esrirecordcount = models.IntegerField(null=True, blank=True)
    gisbuildrecordcount = models.IntegerField(null=True, blank=True)
    geometry_type = models.CharField(max_length=-1, blank=True)
    source_epsg = models.CharField(max_length=-1, blank=True)
    is_landbase = models.NullBooleanField(null=True, blank=True)
    source = models.CharField(max_length=-1, blank=True)
    geometry_column = models.CharField(max_length=-1, blank=True)
    unique_column = models.CharField(max_length=-1, blank=True)
    arcobjects = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."gistables"'
        app_label='djangoproject'

#"ConfigGis"."SqlCommands" had 12 rows.
class ConfigGisSqlCommands(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    step_num = models.IntegerField()
    step_desc = models.CharField(max_length=-1)
    processing_order = models.IntegerField()
    enabled = models.IntegerField()
    sql_command = models.CharField(max_length=-1)
    class Meta:
        db_table = '"config_gis"."sql_commands"'
        app_label='djangoproject'

#"ConfigMap"."Alertpoints" had 2 rows.
class ConfigMapAlertpoints(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    serviceindex = models.SmallIntegerField(null=True, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enteredby = models.CharField(max_length=-1, blank=True)
    entereddatetime = models.CharField(max_length=-1, blank=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    icon = models.IntegerField(null=True, blank=True)
    source = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"config_map"."alertpoints"'
        app_label='djangoproject'

#"ConfigMap"."Bookmarks" had 15 rows.
class ConfigMapBookmarks(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    createdby = models.CharField(max_length=25)
    description = models.CharField(max_length=60)
    createdate = models.DateTimeField(null=True, blank=True)
    name = models.CharField(max_length=25, blank=True)
    scale = models.IntegerField(null=True, blank=True)
    checked_layers = models.CharField(max_length=-1, blank=True)
    extents = models.CharField(max_length=-1, blank=True)
    appmode = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."bookmarks"'
        app_label='djangoproject'

#"ConfigMap"."Groups" had 12 rows.
class ConfigMapGroups(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    group_description = models.CharField(max_length=32, blank=True)
    group_number = models.SmallIntegerField(null=True, blank=True)
    class Meta:
        db_table = '"config_map"."groups"'
        app_label='djangoproject'

#"ConfigMap"."Labels" had 20 rows.
class ConfigMapLabels(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."labels"'
        app_label='djangoproject'

#"ConfigMap"."LayersLegend" had 249 rows.
class ConfigMapLayersLegend(models.Model):
    using = 'oms'
    recordid = models.BigIntegerField(primary_key=True)
    layer_description = models.CharField(max_length=-1, blank=True)
    layer_recordcount = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    layer_name = models.CharField(max_length=-1, blank=True)
    group_number = models.SmallIntegerField(null=True, blank=True)
    checked = models.SmallIntegerField(null=True, blank=True)
    layer_maxscale = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    active = models.IntegerField(null=True, blank=True)
    mapviewertype = models.CharField(max_length=-1, blank=True)
    includefile_order = models.SmallIntegerField(null=True, blank=True)
    includefile_name = models.CharField(max_length=-1, blank=True)
    layer_type = models.CharField(max_length=-1, blank=True)
    layer_data = models.CharField(max_length=-1, blank=True)
    transparency = models.CharField(max_length=-1, blank=True)
    labelitem_maxsize = models.CharField(max_length=-1, blank=True)
    labelitem = models.CharField(max_length=-1, blank=True)
    tab = models.CharField(max_length=-1, blank=True)
    wms = models.SmallIntegerField(null=True, blank=True)
    sql_count = models.CharField(max_length=-1, blank=True)
    layer_minscale = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    wms_widget = models.SmallIntegerField(null=True, blank=True)
    debug = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."layers_legend"'
        app_label='djangoproject'

#"ConfigMap"."MapFileClasses" had 571 rows.
class ConfigMapMapFileClasses(models.Model):
    using = 'oms'
    layer_recordid = models.IntegerField(primary_key=True)
    class_recordid = models.IntegerField()
    enabled = models.IntegerField(null=True, blank=True)
    class_name = models.CharField(max_length=-1, blank=True)
    class_expression = models.CharField(max_length=-1, blank=True)
    class_text = models.CharField(max_length=-1, blank=True)
    class_maxscale = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class_minscale = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    class Meta:
        db_table = '"config_map"."map_file_classes"'
        app_label='djangoproject'

#"ConfigMap"."MapFileLabels" had 85 rows.
class ConfigMapMapFileLabels(models.Model):
    using = 'oms'
    layer_recordid = models.IntegerField(primary_key=True)
    class_recordid = models.IntegerField()
    label_recordid = models.IntegerField()
    enabled = models.IntegerField(null=True, blank=True)
    force = models.CharField(max_length=-1, blank=True)
    minfeaturesize = models.CharField(max_length=-1, blank=True)
    font = models.CharField(max_length=-1, blank=True)
    type = models.CharField(max_length=-1, blank=True)
    position = models.CharField(max_length=-1, blank=True)
    color = models.CharField(max_length=-1, blank=True)
    backgroundcolor = models.CharField(max_length=-1, blank=True)
    angle = models.CharField(max_length=-1, blank=True)
    buffer = models.CharField(max_length=-1, blank=True)
    size = models.CharField(max_length=-1, blank=True)
    mindistance = models.CharField(max_length=-1, blank=True)
    shadowcolor = models.CharField(max_length=-1, blank=True)
    shadowsize = models.CharField(max_length=-1, blank=True)
    offset = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."map_file_labels"'
        app_label='djangoproject'

#"ConfigMap"."MapFileStyles" had 565 rows.
class ConfigMapMapFileStyles(models.Model):
    using = 'oms'
    layer_recordid = models.IntegerField(primary_key=True)
    class_recordid = models.IntegerField()
    style_recordid = models.IntegerField()
    enabled = models.IntegerField(null=True, blank=True)
    symbol = models.CharField(max_length=-1, blank=True)
    color = models.CharField(max_length=-1, blank=True)
    outlinecolor = models.CharField(max_length=-1, blank=True)
    size = models.CharField(max_length=-1, blank=True)
    style_offset = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."map_file_styles"'
        app_label='djangoproject'

#"ConfigMap"."MapServiceTypes" had 3 rows.
class ConfigMapMapServiceTypes(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    service_index = models.IntegerField(null=True, blank=True)
    service_type = models.CharField(max_length=-1, blank=True)
    map_type = models.CharField(max_length=-1, blank=True)
    default = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_map"."map_service_types"'
        app_label='djangoproject'

#"ConfigMap"."MapTabs" had 39 rows.
class ConfigMapMapTabs(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    tab_description = models.CharField(max_length=-1, blank=True)
    map_type = models.CharField(max_length=-1)
    enabled = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_map"."map_tabs"'
        app_label='djangoproject'

#"ConfigMap"."MapViewers" had 12 rows.
class ConfigMapMapViewers(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    type = models.CharField(max_length=-1)
    description = models.CharField(max_length=-1, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    comment = models.CharField(max_length=-1, blank=True)
    service_index = models.IntegerField(null=True, blank=True)
    mapfile = models.CharField(max_length=-1, blank=True)
    icon = models.CharField(max_length=-1, blank=True)
    background_color = models.CharField(max_length=-1, blank=True)
    use_ims = models.NullBooleanField(null=True, blank=True)
    has_open_incidents = models.NullBooleanField(null=True, blank=True)
    has_predictions = models.NullBooleanField(null=True, blank=True)
    has_device_incidents = models.NullBooleanField(null=True, blank=True)
    has_dispatched = models.NullBooleanField(null=True, blank=True)
    has_sub_feeder = models.NullBooleanField(null=True, blank=True)
    has_so_department_filter = models.NullBooleanField(null=True, blank=True)
    has_alertpoint = models.NullBooleanField(null=True, blank=True)
    has_avl = models.NullBooleanField(null=True, blank=True)
    debug = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."map_viewers"'
        app_label='djangoproject'

#"ConfigMap"."Searchqueryitems" had 37 rows.
class ConfigMapSearchqueryitems(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    tabletoquery = models.CharField(max_length=-1, blank=True)
    pulldown_description = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    querycolumn = models.CharField(max_length=-1, blank=True)
    querycolumn_description = models.CharField(max_length=-1, blank=True)
    search_enabled = models.SmallIntegerField(null=True, blank=True)
    query_enabled = models.SmallIntegerField(null=True, blank=True)
    outagemap_enabled = models.SmallIntegerField(null=True, blank=True)
    netevalmap_enabled = models.SmallIntegerField(null=True, blank=True)
    staticmap_enabled = models.SmallIntegerField(null=True, blank=True)
    map_type = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."searchqueryitems"'
        app_label='djangoproject'

#"ConfigMap"."Searchzoomtable" had 30 rows.
class ConfigMapSearchzoomtable(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    tabletoquery = models.CharField(max_length=-1, blank=True)
    pulldowndescription = models.CharField(max_length=-1, blank=True)
    enabled = models.SmallIntegerField(null=True, blank=True)
    gosenabled = models.SmallIntegerField(null=True, blank=True)
    gosviewerenabled = models.SmallIntegerField(null=True, blank=True)
    map_type = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."searchzoomtable"'
        app_label='djangoproject'

#"ConfigMap"."Zoomtolayers" had 37 rows.
class ConfigMapZoomtolayers(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    layer = models.CharField(max_length=-1, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    table_name = models.CharField(max_length=-1, blank=True)
    zoom_to_scale = models.IntegerField(null=True, blank=True)
    display_layers = models.CharField(max_length=-1, blank=True)
    map_type = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_map"."zoomtolayers"'
        app_label='djangoproject'

#"ConsumerBackup"."Customer" had 17693 rows.
class ConsumerBackupCustomer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    accountnumber = models.CharField(max_length=-1)
    subaccount = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    meternumber = models.CharField(max_length=-1, blank=True)
    amrnumber = models.CharField(max_length=-1, blank=True)
    lastname = models.CharField(max_length=-1, blank=True)
    firstname = models.CharField(max_length=-1, blank=True)
    address1 = models.CharField(max_length=-1, blank=True)
    address2 = models.CharField(max_length=-1, blank=True)
    city = models.CharField(max_length=-1, blank=True)
    state = models.CharField(max_length=2, blank=True)
    zipcode = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    altphone = models.CharField(max_length=-1, blank=True)
    billingrate = models.CharField(max_length=-1, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    maplocation = models.CharField(max_length=-1, blank=True)
    phasesused = models.IntegerField(null=True, blank=True)
    linesection = models.CharField(max_length=-1, blank=True)
    substationnumber = models.IntegerField(null=True, blank=True)
    feedernumber = models.IntegerField(null=True, blank=True)
    disconnectdate = models.DateField(null=True, blank=True)
    transformer = models.CharField(max_length=-1, blank=True)
    tap = models.CharField(max_length=-1, blank=True)
    pole = models.CharField(max_length=-1, blank=True)
    servicelocation = models.CharField(max_length=-1, blank=True)
    servicestreetno = models.CharField(max_length=-1, blank=True)
    ssn = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=2, blank=True)
    accountstreet = models.CharField(max_length=-1, blank=True)
    phonestreet = models.CharField(max_length=-1, blank=True)
    emailaddress = models.CharField(max_length=-1, blank=True)
    updateddatetime = models.DateTimeField()
    svcstreetname = models.CharField(max_length=-1, blank=True)
    svcstreetnumber = models.CharField(max_length=-1, blank=True)
    svcstreetref = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"consumer_backup"."customer"'
        app_label='djangoproject'

#"ConsumerBackup"."CustomerContact" had 27325 rows.
class ConsumerBackupCustomerContact(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    account_number = models.CharField(max_length=-1)
    service_index = models.IntegerField(null=True, blank=True)
    contact_info = models.CharField(max_length=-1, blank=True)
    contact_type = models.CharField(max_length=-1, blank=True)
    contact_id = models.CharField(max_length=-1, blank=True)
    priority = models.IntegerField()
    class Meta:
        db_table = '"consumer_backup"."customer_contact"'
        app_label='djangoproject'

#"ConsumerBuildGis"."Cm" had 19804 rows.
class ConsumerBuildGisCm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    cm_count = models.IntegerField(null=True, blank=True)
    mtr_status = models.IntegerField(null=True, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.IntegerField(null=True, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    acctno = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    matchoncolumn = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"consumer_build_gis"."cm"'
        app_label='djangoproject'

#"ConsumerBuildGis"."Consumer" had 17495 rows.
class ConsumerBuildGisConsumer(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    acctno = models.CharField(max_length=-1)
    mtr_status = models.IntegerField(null=True, blank=True)
    volt_fluct = models.DecimalField(null=True, max_digits=8, decimal_places=3, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"consumer_build_gis"."consumer"'
        app_label='djangoproject'

#"ConsumerBuildGis"."Customer" had 17692 rows.
class ConsumerBuildGisCustomer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    accountnumber = models.CharField(max_length=-1)
    subaccount = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    meternumber = models.CharField(max_length=-1, blank=True)
    amrnumber = models.CharField(max_length=-1, blank=True)
    lastname = models.CharField(max_length=-1, blank=True)
    firstname = models.CharField(max_length=-1, blank=True)
    address1 = models.CharField(max_length=-1, blank=True)
    address2 = models.CharField(max_length=-1, blank=True)
    city = models.CharField(max_length=-1, blank=True)
    state = models.CharField(max_length=2, blank=True)
    zipcode = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    altphone = models.CharField(max_length=-1, blank=True)
    billingrate = models.CharField(max_length=-1, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    maplocation = models.CharField(max_length=-1, blank=True)
    phasesused = models.IntegerField(null=True, blank=True)
    linesection = models.CharField(max_length=-1, blank=True)
    substationnumber = models.IntegerField(null=True, blank=True)
    feedernumber = models.IntegerField(null=True, blank=True)
    disconnectdate = models.DateField(null=True, blank=True)
    transformer = models.CharField(max_length=-1, blank=True)
    tap = models.CharField(max_length=-1, blank=True)
    pole = models.CharField(max_length=-1, blank=True)
    servicelocation = models.CharField(max_length=-1, blank=True)
    servicestreetno = models.CharField(max_length=-1, blank=True)
    ssn = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=2, blank=True)
    accountstreet = models.CharField(max_length=-1, blank=True)
    phonestreet = models.CharField(max_length=-1, blank=True)
    emailaddress = models.CharField(max_length=-1, blank=True)
    updateddatetime = models.DateTimeField()
    svcstreetname = models.CharField(max_length=-1, blank=True)
    svcstreetnumber = models.CharField(max_length=-1, blank=True)
    svcstreetref = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"consumer_build_gis"."customer"'
        app_label='djangoproject'

#"ConsumerBuildGis"."CustomerContact" had 27326 rows.
class ConsumerBuildGisCustomerContact(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    account_number = models.CharField(max_length=-1)
    service_index = models.IntegerField(null=True, blank=True)
    contact_info = models.CharField(max_length=-1, blank=True)
    contact_type = models.CharField(max_length=-1, blank=True)
    contact_id = models.CharField(max_length=-1, blank=True)
    priority = models.IntegerField()
    class Meta:
        db_table = '"consumer_build_gis"."customer_contact"'
        app_label='djangoproject'

#"ConsumerProduction"."Customer" had 17692 rows.
class ConsumerProductionCustomer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    accountnumber = models.CharField(max_length=-1)
    subaccount = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    meternumber = models.CharField(max_length=-1, blank=True)
    amrnumber = models.CharField(max_length=-1, blank=True)
    lastname = models.CharField(max_length=-1, blank=True)
    firstname = models.CharField(max_length=-1, blank=True)
    address1 = models.CharField(max_length=-1, blank=True)
    address2 = models.CharField(max_length=-1, blank=True)
    city = models.CharField(max_length=-1, blank=True)
    state = models.CharField(max_length=2, blank=True)
    zipcode = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    altphone = models.CharField(max_length=-1, blank=True)
    billingrate = models.CharField(max_length=-1, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    maplocation = models.CharField(max_length=-1, blank=True)
    phasesused = models.IntegerField(null=True, blank=True)
    linesection = models.CharField(max_length=-1, blank=True)
    substationnumber = models.IntegerField(null=True, blank=True)
    feedernumber = models.IntegerField(null=True, blank=True)
    disconnectdate = models.DateField(null=True, blank=True)
    transformer = models.CharField(max_length=-1, blank=True)
    tap = models.CharField(max_length=-1, blank=True)
    pole = models.CharField(max_length=-1, blank=True)
    servicelocation = models.CharField(max_length=-1, blank=True)
    servicestreetno = models.CharField(max_length=-1, blank=True)
    ssn = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=2, blank=True)
    accountstreet = models.CharField(max_length=-1, blank=True)
    phonestreet = models.CharField(max_length=-1, blank=True)
    emailaddress = models.CharField(max_length=-1, blank=True)
    updateddatetime = models.DateTimeField()
    svcstreetname = models.CharField(max_length=-1, blank=True)
    svcstreetnumber = models.CharField(max_length=-1, blank=True)
    svcstreetref = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"consumer_production"."customer"'
        app_label='djangoproject'

#"ConsumerProduction"."CustomerContact" had 27326 rows.
class ConsumerProductionCustomerContact(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    account_number = models.CharField(max_length=-1)
    service_index = models.IntegerField(null=True, blank=True)
    contact_info = models.CharField(max_length=-1, blank=True)
    contact_type = models.CharField(max_length=-1, blank=True)
    contact_id = models.CharField(max_length=-1, blank=True)
    priority = models.IntegerField()
    class Meta:
        db_table = '"consumer_production"."customer_contact"'
        app_label='djangoproject'

#"Core"."Accessauth" had 441 rows.
class CoreAccessauth(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    accessid = models.IntegerField()
    authtype = models.CharField(max_length=45)
    authvalue = models.IntegerField()
    class Meta:
        db_table = '"core"."accessauth"'
        app_label='djangoproject'

#"Core"."Accesslevel" had 7 rows.
class CoreAccesslevel(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    description = models.CharField(max_length=45)
    deleted = models.NullBooleanField(null=True, blank=True)
    display = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"core"."accesslevel"'
        app_label='djangoproject'

#"Core"."Authtype" had 63 rows.
class CoreAuthtype(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    authtype = models.CharField(max_length=45)
    comment = models.CharField(max_length=128, blank=True)
    system = models.CharField(max_length=45)
    enabled = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"core"."authtype"'
        app_label='djangoproject'

#"Core"."CellCarriers" had 59 rows.
class CoreCellCarriers(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    carrier_name = models.CharField(max_length=64)
    sms_domain = models.CharField(max_length=64)
    description = models.CharField(max_length=255, blank=True)
    class Meta:
        db_table = '"core"."cell_carriers"'
        app_label='djangoproject'

#"Core"."County" had 6 rows.
class CoreCounty(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    code = models.CharField(max_length=2)
    name = models.CharField(max_length=29, blank=True)
    countytype = models.IntegerField()
    ciscounty = models.CharField(max_length=255, blank=True)
    class Meta:
        db_table = '"core"."county"'
        app_label='djangoproject'

#"Core"."CrewVehicle" had 1 rows.
class CoreCrewVehicle(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    crew_number = models.CharField(max_length=16)
    vehicle_number = models.CharField(max_length=16)
    crew_name = models.CharField(max_length=64, blank=True)
    vehicle_name = models.CharField(max_length=64, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    updated = models.NullBooleanField(null=True, blank=True)
    deleted = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"core"."crew_vehicle"'
        app_label='djangoproject'

#"Core"."Crews" had 1 rows.
class CoreCrews(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=48, blank=True)
    crew_number = models.CharField(max_length=16)
    notes = models.CharField(max_length=255, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    service_area = models.CharField(max_length=32, blank=True)
    updated = models.NullBooleanField(null=True, blank=True)
    deleted = models.NullBooleanField(null=True, blank=True)
    current_status = models.CharField(max_length=32, blank=True)
    current_status_time = models.DateTimeField(null=True, blank=True)
    current_work_item = models.CharField(max_length=16, blank=True)
    current_work_item_type = models.CharField(max_length=1, blank=True)
    dispatchable = models.NullBooleanField(null=True, blank=True)
    escort = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=32, blank=True)
    leader_employee_number = models.CharField(max_length=16, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    available = models.NullBooleanField(null=True, blank=True)
    available_note = models.CharField(max_length=48, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."crews"'
        app_label='djangoproject'

#"Core"."CustomMenu" had 1 rows.
class CoreCustomMenu(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    link_text = models.CharField(max_length=-1)
    alt_text = models.CharField(max_length=-1, blank=True)
    link_url = models.CharField(max_length=-1)
    auth_level = models.IntegerField()
    enabled = models.BooleanField()
    target = models.CharField(max_length=16, blank=True)
    class Meta:
        db_table = '"core"."custom_menu"'
        app_label='djangoproject'

#"Core"."CustomReports" had 2 rows.
class CoreCustomReports(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    display_name = models.CharField(max_length=32, blank=True)
    hover_title = models.CharField(max_length=64, blank=True)
    internal_short_name = models.CharField(max_length=32, blank=True)
    get_data_url = models.CharField(max_length=80, blank=True)
    js_file_handler_name = models.CharField(max_length=32, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    html_file = models.CharField(max_length=32, blank=True)
    filter_div = models.CharField(max_length=32, blank=True)
    direct_link_url = models.CharField(max_length=48, blank=True)
    direct_link_name = models.CharField(max_length=32, blank=True)
    direct_link_specs = models.CharField(max_length=80, blank=True)
    report_section = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"core"."custom_reports"'
        app_label='djangoproject'

#"Core"."District" had 4 rows.
class CoreDistrict(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    districtcode = models.CharField(max_length=4)
    districtname = models.CharField(max_length=30)
    defaultprinter = models.CharField(max_length=50)
    districtnum = models.IntegerField()
    districttype = models.IntegerField()
    cisdistrict = models.CharField(max_length=255, blank=True)
    class Meta:
        db_table = '"core"."district"'
        app_label='djangoproject'

#"Core"."EmployeeClassifications" had 21 rows.
class CoreEmployeeClassifications(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    classification = models.CharField(max_length=32, blank=True)
    notes = models.CharField(max_length=-1, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_classifications"'
        app_label='djangoproject'

#"Core"."EmployeeContacts" had 3 rows.
class CoreEmployeeContacts(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    employee_number = models.CharField(max_length=16, blank=True)
    employee_recordid = models.IntegerField()
    contact_string = models.CharField(max_length=-1)
    contact_method = models.CharField(max_length=1, blank=True)
    contact_location = models.CharField(max_length=16, blank=True)
    method_param = models.CharField(max_length=64, blank=True)
    escalation_level = models.IntegerField(null=True, blank=True)
    contact_order = models.IntegerField(null=True, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    comment = models.CharField(max_length=50, blank=True)
    message_length = models.IntegerField(null=True, blank=True)
    code = models.CharField(max_length=20, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_contacts"'
        app_label='djangoproject'

#"Core"."EmployeeCrew" had 2 rows.
class CoreEmployeeCrew(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    employee_number = models.CharField(max_length=16)
    crew_number = models.CharField(max_length=16)
    updated = models.NullBooleanField(null=True, blank=True)
    deleted = models.NullBooleanField(null=True, blank=True)
    escort = models.NullBooleanField(null=True, blank=True)
    leader = models.NullBooleanField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_crew"'
        app_label='djangoproject'

#"Core"."EmployeeServices" had 110 rows.
class CoreEmployeeServices(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    service_index = models.IntegerField()
    employee_number = models.CharField(max_length=16)
    class Meta:
        db_table = '"core"."employee_services"'
        app_label='djangoproject'

#"Core"."Employees" had 72 rows.
class CoreEmployees(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=48, blank=True)
    employee_number = models.CharField(max_length=16)
    emp_type = models.CharField(max_length=1, blank=True)
    userid = models.CharField(max_length=45, blank=True)
    passwd = models.CharField(max_length=45, blank=True)
    notes = models.CharField(max_length=255, blank=True)
    on_shift = models.NullBooleanField(null=True, blank=True)
    on_call = models.NullBooleanField(null=True, blank=True)
    district = models.CharField(max_length=32, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    service_area = models.CharField(max_length=32, blank=True)
    dispatchable = models.NullBooleanField(null=True, blank=True)
    notifiable = models.NullBooleanField(null=True, blank=True)
    access_level = models.IntegerField()
    updated = models.NullBooleanField(null=True, blank=True)
    deleted = models.NullBooleanField(null=True, blank=True)
    travel_start = models.DateTimeField(null=True, blank=True)
    travel_from = models.CharField(max_length=-1, blank=True)
    travel_est_arrival = models.DateTimeField(null=True, blank=True)
    travel_actual_arrival = models.DateTimeField(null=True, blank=True)
    title = models.CharField(max_length=32, blank=True)
    home_location = models.CharField(max_length=-1, blank=True)
    employer_name = models.CharField(max_length=-1, blank=True)
    home_address = models.CharField(max_length=-1, blank=True)
    hire_date = models.DateField(null=True, blank=True)
    classification = models.CharField(max_length=32, blank=True)
    equipment = models.CharField(max_length=-1, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    current_status = models.CharField(max_length=-1, blank=True)
    current_status_time = models.DateTimeField(null=True, blank=True)
    available = models.NullBooleanField(null=True, blank=True)
    available_note = models.CharField(max_length=48, blank=True)
    uses_messaging = models.NullBooleanField(null=True, blank=True)
    radio_type = models.CharField(max_length=8, blank=True)
    radio_updated = models.DateTimeField(null=True, blank=True)
    radio_id = models.CharField(max_length=8, blank=True)
    radio_fleet_num = models.CharField(max_length=4, blank=True)
    radio_unit_num = models.CharField(max_length=6, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employees"'
        app_label='djangoproject'

#"Core"."Icons" had 7 rows.
class CoreIcons(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=32, blank=True)
    icon_type = models.CharField(max_length=1, blank=True)
    filename = models.CharField(max_length=32, blank=True)
    description = models.CharField(max_length=48, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."icons"'
        app_label='djangoproject'

#"Core"."Services" had 1 rows.
class CoreServices(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    service_name = models.CharField(max_length=32)
    service_index = models.IntegerField(null=True, blank=True)
    description = models.CharField(max_length=50, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    causecode_title = models.CharField(max_length=20, blank=True)
    classcode_title = models.CharField(max_length=20, blank=True)
    equipcode_title = models.CharField(max_length=20, blank=True)
    failcode_title = models.CharField(max_length=20, blank=True)
    opt1code_title = models.CharField(max_length=20, blank=True)
    opt2code_title = models.CharField(max_length=20, blank=True)
    icon_name = models.CharField(max_length=32, blank=True)
    deleted = models.IntegerField(null=True, blank=True)
    print_on_add_flag = models.IntegerField(null=True, blank=True)
    print_on_complete_flag = models.IntegerField(null=True, blank=True)
    connectivity_model = models.IntegerField()
    restoreemail_fromaddr = models.CharField(max_length=100, blank=True)
    restoreemail_template = models.CharField(max_length=45)
    restore_sms_template = models.CharField(max_length=45)
    create_date = models.DateTimeField(null=True, blank=True)
    has_customer_geodata = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"core"."services"'
        app_label='djangoproject'

#"Core"."VehicleMaintenanceTypes" had 8 rows.
class CoreVehicleMaintenanceTypes(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    item_code = models.CharField(max_length=2)
    item_display = models.CharField(max_length=20, blank=True)
    item_description = models.CharField(max_length=50, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."vehicle_maintenance_types"'
        app_label='djangoproject'

#"Core"."Vehicles" had 49 rows.
class CoreVehicles(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=32, blank=True)
    vehicle_number = models.CharField(max_length=16)
    avlvehicleid = models.CharField(max_length=-1, blank=True)
    gos_id = models.IntegerField()
    service_index = models.CharField(max_length=32, blank=True)
    service_area = models.CharField(max_length=32, blank=True)
    licenseplate = models.CharField(max_length=8, blank=True)
    model_year = models.IntegerField(null=True, blank=True)
    vehicle_equipment = models.CharField(max_length=-1, blank=True)
    notes = models.CharField(max_length=255, blank=True)
    make = models.CharField(max_length=-1, blank=True)
    model = models.CharField(max_length=-1, blank=True)
    odometer = models.FloatField(null=True, blank=True)
    vehicle_radio = models.CharField(max_length=-1, blank=True)
    horsepower = models.IntegerField(null=True, blank=True)
    capacity = models.CharField(max_length=16, blank=True)
    lift_height = models.CharField(max_length=16, blank=True)
    fueltype = models.CharField(max_length=1, blank=True)
    district = models.CharField(max_length=32, blank=True)
    icon_name = models.CharField(max_length=32, blank=True)
    current_status = models.CharField(max_length=-1, blank=True)
    current_status_time = models.DateTimeField(null=True, blank=True)
    avl_status = models.CharField(max_length=2, blank=True)
    dispatchable = models.NullBooleanField(null=True, blank=True)
    available = models.NullBooleanField(null=True, blank=True)
    gpstimestamp = models.CharField(max_length=-1, blank=True)
    avltimestamp = models.DateTimeField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    longitude = models.CharField(max_length=-1, blank=True)
    latitude = models.CharField(max_length=-1, blank=True)
    altitude = models.CharField(max_length=-1, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    neareststreet = models.CharField(max_length=-1, blank=True)
    true_course = models.FloatField(null=True, blank=True)
    speed = models.FloatField(null=True, blank=True)
    direction = models.CharField(max_length=-1, blank=True)
    quality = models.CharField(max_length=-1, blank=True)
    satellites = models.IntegerField(null=True, blank=True)
    deleted = models.NullBooleanField(null=True, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    homelatitude = models.FloatField(null=True, blank=True)
    homelongitude = models.FloatField(null=True, blank=True)
    homelocationgeodata = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"core"."vehicles"'
        app_label='djangoproject'

#"DvAmi"."MtrJobreqhistory" had 1 rows.
class DvAmiMtrJobreqhistory(models.Model):
    using = 'oms'
    jobno = models.IntegerField(primary_key=True)
    starttime = models.DateTimeField()
    donetime = models.DateTimeField(null=True, blank=True)
    jtype = models.SmallIntegerField(null=True, blank=True)
    jstatus = models.SmallIntegerField(null=True, blank=True)
    resp_on = models.SmallIntegerField(null=True, blank=True)
    resp_off = models.SmallIntegerField(null=True, blank=True)
    resp_com = models.SmallIntegerField(null=True, blank=True)
    resp_volts = models.SmallIntegerField(null=True, blank=True)
    resp_invld = models.SmallIntegerField(null=True, blank=True)
    jtotalrcds = models.SmallIntegerField(null=True, blank=True)
    jreqby = models.CharField(max_length=20, blank=True)
    jobdesc = models.CharField(max_length=50, blank=True)
    jlinesect = models.CharField(max_length=20, blank=True)
    jmeter = models.CharField(max_length=20, blank=True)
    jscope = models.IntegerField(null=True, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    schedjob = models.IntegerField(null=True, blank=True)
    maxattempts = models.IntegerField(null=True, blank=True)
    overlimit = models.SmallIntegerField(null=True, blank=True)
    class Meta:
        db_table = '"dv_ami"."mtr_jobreqhistory"'
        app_label='djangoproject'

#"DvAmi"."MtrReqresphistory" had 108 rows.
class DvAmiMtrReqresphistory(models.Model):
    using = 'oms'
    meter = models.CharField(primary_key=True, max_length=20)
    amrnbr = models.CharField(max_length=20, blank=True)
    substation = models.SmallIntegerField(null=True, blank=True)
    feeder = models.SmallIntegerField(null=True, blank=True)
    linesect = models.CharField(max_length=20, blank=True)
    phase = models.SmallIntegerField(null=True, blank=True)
    maploc = models.CharField(max_length=20, blank=True)
    name = models.CharField(max_length=30, blank=True)
    serviceloc = models.CharField(max_length=50, blank=True)
    resp_type = models.SmallIntegerField(null=True, blank=True)
    resp_desc = models.CharField(max_length=50, blank=True)
    transform = models.CharField(max_length=20, blank=True)
    tctdata1 = models.BigIntegerField(null=True, blank=True)
    voltfluct = models.FloatField(null=True, blank=True)
    memtype = models.SmallIntegerField(null=True, blank=True)
    memaddr = models.SmallIntegerField(null=True, blank=True)
    job_type = models.SmallIntegerField(null=True, blank=True)
    comptime = models.DateTimeField(null=True, blank=True)
    sn_compath = models.CharField(max_length=50, blank=True)
    acctno = models.CharField(max_length=20, blank=True)
    recordid = models.IntegerField()
    groupid = models.IntegerField(null=True, blank=True)
    numattempts = models.IntegerField()
    maxattempts = models.IntegerField()
    jobno = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"dv_ami"."mtr_reqresphistory"'
        app_label='djangoproject'

#"Email"."Emailqueue" had 8 rows.
class EmailEmailqueue(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    sendondatetime = models.DateTimeField(null=True, blank=True)
    requestedby = models.CharField(max_length=-1, blank=True)
    fromaddr = models.CharField(max_length=-1, blank=True)
    toaddr = models.CharField(max_length=-1, blank=True)
    ccaddr = models.CharField(max_length=-1, blank=True)
    bccaddr = models.CharField(max_length=-1, blank=True)
    subject = models.CharField(max_length=-1, blank=True)
    htmltemplatefile = models.CharField(max_length=-1, blank=True)
    messagetext = models.CharField(max_length=-1, blank=True)
    htmltags = models.CharField(max_length=-1, blank=True)
    texttemplatefile = models.CharField(max_length=-1, blank=True)
    attachments = models.CharField(max_length=-1, blank=True)
    rtnmessage = models.CharField(max_length=-1, blank=True)
    htmlscript = models.CharField(max_length=-1, blank=True)
    smsflag = models.IntegerField(null=True, blank=True)
    messagetype = models.CharField(max_length=-1, blank=True)
    inprogress = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"email"."emailqueue"'
        app_label='djangoproject'

#"GisBackup"."Coopgiscounty" had 47 rows.
class GisBackupCoopgiscounty(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=90, db_column='Name', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgiscounty"'
        app_label='djangoproject'

#"GisBackup"."Coopgisgrid" had 93 rows.
class GisBackupCoopgisgrid(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    subgridindicator = models.NullBooleanField(null=True, db_column='SubGridIndicator', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgisgrid"'
        app_label='djangoproject'

#"GisBackup"."Coopgisroad" had 19987 rows.
class GisBackupCoopgisroad(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, blank=True)
    number = models.CharField(max_length=250, blank=True)
    interstateindicator = models.NullBooleanField(null=True, blank=True)
    ushighwayindicator = models.NullBooleanField(null=True, blank=True)
    statehighwayindicator = models.NullBooleanField(null=True, blank=True)
    mainroadindicator = models.NullBooleanField(null=True, blank=True)
    leftfromaddress = models.CharField(max_length=250, blank=True)
    lefttoaddress = models.CharField(max_length=250, blank=True)
    rightfromaddress = models.CharField(max_length=250, blank=True)
    righttoaddress = models.CharField(max_length=250, blank=True)
    symbologyroadtypeflag = models.CharField(max_length=1, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    alternatename = models.CharField(max_length=250, db_column='AlternateName', blank=True) # Field name made lowercase.
    residesonserverindicator = models.NullBooleanField(null=True, db_column='ResidesOnServerIndicator', blank=True) # Field name made lowercase.
    createcommand_id = models.IntegerField(null=True, db_column='CreateCommand_id', blank=True) # Field name made lowercase.
    selectionusername = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgisroad"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologycutout" had 3314 rows.
class GisBackupCoopgissymbologycutout(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    fuseamprating = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologycutout"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologyfeeder" had 56 rows.
class GisBackupCoopgissymbologyfeeder(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    tagnumber = models.TextField(blank=True)
    omscircuitnumber = models.TextField(blank=True)
    omssubstationnumber = models.TextField(blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologyfeeder"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologylight" had 17314 rows.
class GisBackupCoopgissymbologylight(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    installstatusname = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologylight"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologymeter" had 19579 rows.
class GisBackupCoopgissymbologymeter(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    activestatus = models.TextField(blank=True)
    phasecode = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    meternumber = models.CharField(max_length=250, blank=True)
    meterdcsinumber = models.CharField(max_length=250, blank=True)
    oldmapnumber = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologymeter"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologyopenpoint" had 285 rows.
class GisBackupCoopgissymbologyopenpoint(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologyopenpoint"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologypole" had 52938 rows.
class GisBackupCoopgissymbologypole(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    jointuse = models.TextField(blank=True)
    poletreatment = models.TextField(blank=True)
    type = models.TextField(blank=True)
    tagnumber = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologypole"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologyprimaryline" had 40053 rows.
class GisBackupCoopgissymbologyprimaryline(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunits = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    span_id = models.IntegerField(null=True, blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologyprimaryline"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologyrecloser" had 2187 rows.
class GisBackupCoopgissymbologyrecloser(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologyrecloser"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologyregulator" had 17 rows.
class GisBackupCoopgissymbologyregulator(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologyregulator"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologysecondaryline" had 39696 rows.
class GisBackupCoopgissymbologysecondaryline(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunits = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    span_id = models.IntegerField(null=True, blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologysecondaryline"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologysubstation" had 13 rows.
class GisBackupCoopgissymbologysubstation(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    number = models.TextField(blank=True)
    omsnumber = models.TextField(blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologysubstation"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologyswitch" had 344 rows.
class GisBackupCoopgissymbologyswitch(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    phasecode = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    installstatus_id = models.CharField(max_length=250, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    openindicator = models.NullBooleanField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologyswitch"'
        app_label='djangoproject'

#"GisBackup"."Coopgissymbologytransformer" had 14707 rows.
class GisBackupCoopgissymbologytransformer(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    tagnumber = models.TextField(blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgissymbologytransformer"'
        app_label='djangoproject'

#"GisBackup"."County" had 47 rows.
class GisBackupCounty(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    descriptio = models.CharField(max_length=-1, blank=True)
    cisidentif = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."county"'
        app_label='djangoproject'

#"GisBackup"."Cutout" had 3546 rows.
class GisBackupCutout(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    fuseamprat = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."cutout"'
        app_label='djangoproject'

#"GisBackup"."DvStatus" had 1 rows.
class GisBackupDvStatus(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    last_step = models.IntegerField(null=True, blank=True)
    dv_connectivity = models.NullBooleanField(null=True, blank=True)
    step6_auto_mods = models.NullBooleanField(null=True, blank=True)
    run_by = models.CharField(max_length=-1, blank=True)
    run_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gis_backup"."dv_status"'
        app_label='djangoproject'

#"GisBackup"."Feeder" had 56 rows.
class GisBackupFeeder(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    omscircuit = models.CharField(max_length=-1, blank=True)
    omssubstat = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."feeder"'
        app_label='djangoproject'

#"GisBackup"."Grid" had 93 rows.
class GisBackupGrid(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    descriptio = models.CharField(max_length=-1, blank=True)
    subgridind = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."grid"'
        app_label='djangoproject'

#"GisBackup"."Light" had 18092 rows.
class GisBackupLight(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    installsta = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    mapnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."light"'
        app_label='djangoproject'

#"GisBackup"."Meter" had 19803 rows.
class GisBackupMeter(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    activestat = models.CharField(max_length=-1, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    meternumbe = models.CharField(max_length=-1, blank=True)
    meterdcsin = models.CharField(max_length=-1, blank=True)
    oldmapnumb = models.CharField(max_length=-1, blank=True)
    meterform = models.CharField(max_length=-1, blank=True)
    circuitnum = models.CharField(max_length=-1, blank=True)
    nearbytagn = models.CharField(max_length=-1, blank=True)
    nearbymete = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."meter"'
        app_label='djangoproject'

#"GisBackup"."Openpoint" had 194 rows.
class GisBackupOpenpoint(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."openpoint"'
        app_label='djangoproject'

#"GisBackup"."Pole" had 41088 rows.
class GisBackupPole(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    jointuse = models.CharField(max_length=-1, blank=True)
    poletreatm = models.CharField(max_length=-1, blank=True)
    type = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."pole"'
        app_label='djangoproject'

#"GisBackup"."Primaryline" had 41604 rows.
class GisBackupPrimaryline(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    span_id = models.FloatField(null=True, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."primaryline"'
        app_label='djangoproject'

#"GisBackup"."Recloser" had 297 rows.
class GisBackupRecloser(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."recloser"'
        app_label='djangoproject'

#"GisBackup"."Regulator" had 17 rows.
class GisBackupRegulator(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."regulator"'
        app_label='djangoproject'

#"GisBackup"."Road" had 47822 rows.
class GisBackupRoad(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    name_01 = models.CharField(max_length=-1, blank=True)
    alternaten = models.CharField(max_length=-1, blank=True)
    number = models.CharField(max_length=-1, blank=True)
    interstate = models.CharField(max_length=-1, blank=True)
    ushighwayi = models.CharField(max_length=-1, blank=True)
    statehighw = models.CharField(max_length=-1, blank=True)
    mainroadin = models.CharField(max_length=-1, blank=True)
    leftfromad = models.CharField(max_length=-1, blank=True)
    lefttoaddr = models.CharField(max_length=-1, blank=True)
    rightfroma = models.CharField(max_length=-1, blank=True)
    righttoadd = models.CharField(max_length=-1, blank=True)
    residesons = models.CharField(max_length=-1, blank=True)
    createcomm = models.FloatField(null=True, blank=True)
    symbologyr = models.CharField(max_length=-1, blank=True)
    selectionu = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."road"'
        app_label='djangoproject'

#"GisBackup"."Secondaryline" had 40418 rows.
class GisBackupSecondaryline(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    span_id = models.FloatField(null=True, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."secondaryline"'
        app_label='djangoproject'

#"GisBackup"."Substation" had 14 rows.
class GisBackupSubstation(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    number = models.CharField(max_length=-1, blank=True)
    omsnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."substation"'
        app_label='djangoproject'

#"GisBackup"."Switch" had 417 rows.
class GisBackupSwitch(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    installsta = models.CharField(max_length=-1, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    openindica = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."switch"'
        app_label='djangoproject'

#"GisBackup"."Transformer" had 15042 rows.
class GisBackupTransformer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    transforme = models.CharField(max_length=-1, blank=True)
    transfo_01 = models.FloatField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."transformer"'
        app_label='djangoproject'

#"GisBuild"."Coopgiscounty" had 47 rows.
class GisBuildCoopgiscounty(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=90, db_column='Name', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgiscounty"'
        app_label='djangoproject'

#"GisBuild"."Coopgisgrid" had 93 rows.
class GisBuildCoopgisgrid(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    subgridindicator = models.NullBooleanField(null=True, db_column='SubGridIndicator', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgisgrid"'
        app_label='djangoproject'

#"GisBuild"."Coopgisroad" had 19987 rows.
class GisBuildCoopgisroad(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, blank=True)
    number = models.CharField(max_length=250, blank=True)
    interstateindicator = models.NullBooleanField(null=True, blank=True)
    ushighwayindicator = models.NullBooleanField(null=True, blank=True)
    statehighwayindicator = models.NullBooleanField(null=True, blank=True)
    mainroadindicator = models.NullBooleanField(null=True, blank=True)
    leftfromaddress = models.CharField(max_length=250, blank=True)
    lefttoaddress = models.CharField(max_length=250, blank=True)
    rightfromaddress = models.CharField(max_length=250, blank=True)
    righttoaddress = models.CharField(max_length=250, blank=True)
    symbologyroadtypeflag = models.CharField(max_length=1, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    alternatename = models.CharField(max_length=250, db_column='AlternateName', blank=True) # Field name made lowercase.
    residesonserverindicator = models.NullBooleanField(null=True, db_column='ResidesOnServerIndicator', blank=True) # Field name made lowercase.
    createcommand_id = models.IntegerField(null=True, db_column='CreateCommand_id', blank=True) # Field name made lowercase.
    selectionusername = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgisroad"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologycutout" had 3314 rows.
class GisBuildCoopgissymbologycutout(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    fuseamprating = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologycutout"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologyfeeder" had 56 rows.
class GisBuildCoopgissymbologyfeeder(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    tagnumber = models.TextField(blank=True)
    omscircuitnumber = models.TextField(blank=True)
    omssubstationnumber = models.TextField(blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologyfeeder"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologylight" had 17314 rows.
class GisBuildCoopgissymbologylight(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    installstatusname = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologylight"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologymeter" had 19579 rows.
class GisBuildCoopgissymbologymeter(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    activestatus = models.TextField(blank=True)
    phasecode = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    meternumber = models.CharField(max_length=250, blank=True)
    meterdcsinumber = models.CharField(max_length=250, blank=True)
    oldmapnumber = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologymeter"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologyopenpoint" had 285 rows.
class GisBuildCoopgissymbologyopenpoint(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologyopenpoint"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologypole" had 52938 rows.
class GisBuildCoopgissymbologypole(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    jointuse = models.TextField(blank=True)
    poletreatment = models.TextField(blank=True)
    type = models.TextField(blank=True)
    tagnumber = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologypole"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologyprimaryline" had 40053 rows.
class GisBuildCoopgissymbologyprimaryline(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunits = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    span_id = models.IntegerField(null=True, blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologyprimaryline"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologyrecloser" had 2187 rows.
class GisBuildCoopgissymbologyrecloser(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologyrecloser"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologyregulator" had 17 rows.
class GisBuildCoopgissymbologyregulator(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologyregulator"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologysecondaryline" had 39696 rows.
class GisBuildCoopgissymbologysecondaryline(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunits = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    span_id = models.IntegerField(null=True, blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologysecondaryline"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologysubstation" had 13 rows.
class GisBuildCoopgissymbologysubstation(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    number = models.TextField(blank=True)
    omsnumber = models.TextField(blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologysubstation"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologyswitch" had 344 rows.
class GisBuildCoopgissymbologyswitch(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    phasecode = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    installstatus_id = models.CharField(max_length=250, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    openindicator = models.NullBooleanField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologyswitch"'
        app_label='djangoproject'

#"GisBuild"."Coopgissymbologytransformer" had 14707 rows.
class GisBuildCoopgissymbologytransformer(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    tagnumber = models.TextField(blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgissymbologytransformer"'
        app_label='djangoproject'

#"GisBuild"."County" had 47 rows.
class GisBuildCounty(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    descriptio = models.CharField(max_length=-1, blank=True)
    cisidentif = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."county"'
        app_label='djangoproject'

#"GisBuild"."Cutout" had 3548 rows.
class GisBuildCutout(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    fuseamprat = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."cutout"'
        app_label='djangoproject'

#"GisBuild"."DvStatus" had 1 rows.
class GisBuildDvStatus(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    last_step = models.IntegerField(null=True, blank=True)
    dv_connectivity = models.NullBooleanField(null=True, blank=True)
    step6_auto_mods = models.NullBooleanField(null=True, blank=True)
    run_by = models.CharField(max_length=-1, blank=True)
    run_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gis_build"."dv_status"'
        app_label='djangoproject'

#"GisBuild"."Feeder" had 56 rows.
class GisBuildFeeder(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    omscircuit = models.CharField(max_length=-1, blank=True)
    omssubstat = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."feeder"'
        app_label='djangoproject'

#"GisBuild"."Grid" had 93 rows.
class GisBuildGrid(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    descriptio = models.CharField(max_length=-1, blank=True)
    subgridind = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."grid"'
        app_label='djangoproject'

#"GisBuild"."Light" had 18107 rows.
class GisBuildLight(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    installsta = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    mapnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."light"'
        app_label='djangoproject'

#"GisBuild"."Meter" had 19804 rows.
class GisBuildMeter(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    activestat = models.CharField(max_length=-1, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    meternumbe = models.CharField(max_length=-1, blank=True)
    meterdcsin = models.CharField(max_length=-1, blank=True)
    oldmapnumb = models.CharField(max_length=-1, blank=True)
    meterform = models.CharField(max_length=-1, blank=True)
    circuitnum = models.CharField(max_length=-1, blank=True)
    nearbytagn = models.CharField(max_length=-1, blank=True)
    nearbymete = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."meter"'
        app_label='djangoproject'

#"GisBuild"."Openpoint" had 193 rows.
class GisBuildOpenpoint(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."openpoint"'
        app_label='djangoproject'

#"GisBuild"."Pole" had 41088 rows.
class GisBuildPole(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    jointuse = models.CharField(max_length=-1, blank=True)
    poletreatm = models.CharField(max_length=-1, blank=True)
    type = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."pole"'
        app_label='djangoproject'

#"GisBuild"."Primaryline" had 41604 rows.
class GisBuildPrimaryline(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    span_id = models.FloatField(null=True, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."primaryline"'
        app_label='djangoproject'

#"GisBuild"."Recloser" had 297 rows.
class GisBuildRecloser(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."recloser"'
        app_label='djangoproject'

#"GisBuild"."Regulator" had 17 rows.
class GisBuildRegulator(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."regulator"'
        app_label='djangoproject'

#"GisBuild"."Road" had 47822 rows.
class GisBuildRoad(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    name_01 = models.CharField(max_length=-1, blank=True)
    alternaten = models.CharField(max_length=-1, blank=True)
    number = models.CharField(max_length=-1, blank=True)
    interstate = models.CharField(max_length=-1, blank=True)
    ushighwayi = models.CharField(max_length=-1, blank=True)
    statehighw = models.CharField(max_length=-1, blank=True)
    mainroadin = models.CharField(max_length=-1, blank=True)
    leftfromad = models.CharField(max_length=-1, blank=True)
    lefttoaddr = models.CharField(max_length=-1, blank=True)
    rightfroma = models.CharField(max_length=-1, blank=True)
    righttoadd = models.CharField(max_length=-1, blank=True)
    residesons = models.CharField(max_length=-1, blank=True)
    createcomm = models.FloatField(null=True, blank=True)
    symbologyr = models.CharField(max_length=-1, blank=True)
    selectionu = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."road"'
        app_label='djangoproject'

#"GisBuild"."Secondaryline" had 40422 rows.
class GisBuildSecondaryline(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    span_id = models.FloatField(null=True, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."secondaryline"'
        app_label='djangoproject'

#"GisBuild"."Substation" had 14 rows.
class GisBuildSubstation(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    number = models.CharField(max_length=-1, blank=True)
    omsnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."substation"'
        app_label='djangoproject'

#"GisBuild"."Switch" had 417 rows.
class GisBuildSwitch(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    installsta = models.CharField(max_length=-1, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    openindica = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."switch"'
        app_label='djangoproject'

#"GisBuild"."Transformer" had 15042 rows.
class GisBuildTransformer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    transforme = models.CharField(max_length=-1, blank=True)
    transfo_01 = models.FloatField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."transformer"'
        app_label='djangoproject'

#"GisProduction"."Coopgiscounty" had 47 rows.
class GisProductionCoopgiscounty(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=90, db_column='Name', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgiscounty"'
        app_label='djangoproject'

#"GisProduction"."Coopgisgrid" had 93 rows.
class GisProductionCoopgisgrid(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    subgridindicator = models.NullBooleanField(null=True, db_column='SubGridIndicator', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgisgrid"'
        app_label='djangoproject'

#"GisProduction"."Coopgisroad" had 19987 rows.
class GisProductionCoopgisroad(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, blank=True)
    number = models.CharField(max_length=250, blank=True)
    interstateindicator = models.NullBooleanField(null=True, blank=True)
    ushighwayindicator = models.NullBooleanField(null=True, blank=True)
    statehighwayindicator = models.NullBooleanField(null=True, blank=True)
    mainroadindicator = models.NullBooleanField(null=True, blank=True)
    leftfromaddress = models.CharField(max_length=250, blank=True)
    lefttoaddress = models.CharField(max_length=250, blank=True)
    rightfromaddress = models.CharField(max_length=250, blank=True)
    righttoaddress = models.CharField(max_length=250, blank=True)
    symbologyroadtypeflag = models.CharField(max_length=1, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    alternatename = models.CharField(max_length=250, db_column='AlternateName', blank=True) # Field name made lowercase.
    residesonserverindicator = models.NullBooleanField(null=True, db_column='ResidesOnServerIndicator', blank=True) # Field name made lowercase.
    createcommand_id = models.IntegerField(null=True, db_column='CreateCommand_id', blank=True) # Field name made lowercase.
    selectionusername = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgisroad"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologycutout" had 3314 rows.
class GisProductionCoopgissymbologycutout(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    fuseamprating = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologycutout"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologyfeeder" had 56 rows.
class GisProductionCoopgissymbologyfeeder(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    tagnumber = models.TextField(blank=True)
    omscircuitnumber = models.TextField(blank=True)
    omssubstationnumber = models.TextField(blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologyfeeder"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologylight" had 17314 rows.
class GisProductionCoopgissymbologylight(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    installstatusname = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologylight"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologymeter" had 19579 rows.
class GisProductionCoopgissymbologymeter(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    activestatus = models.TextField(blank=True)
    phasecode = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    meternumber = models.CharField(max_length=250, blank=True)
    meterdcsinumber = models.CharField(max_length=250, blank=True)
    oldmapnumber = models.CharField(max_length=250, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologymeter"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologyopenpoint" had 285 rows.
class GisProductionCoopgissymbologyopenpoint(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologyopenpoint"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologypole" had 52938 rows.
class GisProductionCoopgissymbologypole(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    jointuse = models.TextField(blank=True)
    poletreatment = models.TextField(blank=True)
    type = models.TextField(blank=True)
    tagnumber = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologypole"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologyprimaryline" had 40053 rows.
class GisProductionCoopgissymbologyprimaryline(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunits = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    span_id = models.IntegerField(null=True, blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologyprimaryline"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologyrecloser" had 2187 rows.
class GisProductionCoopgissymbologyrecloser(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologyrecloser"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologyregulator" had 17 rows.
class GisProductionCoopgissymbologyregulator(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologyregulator"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologysecondaryline" had 39696 rows.
class GisProductionCoopgissymbologysecondaryline(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    phasecode = models.TextField(blank=True)
    compatibleunits = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    span_id = models.IntegerField(null=True, blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologysecondaryline"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologysubstation" had 13 rows.
class GisProductionCoopgissymbologysubstation(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    number = models.TextField(blank=True)
    omsnumber = models.TextField(blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologysubstation"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologyswitch" had 344 rows.
class GisProductionCoopgissymbologyswitch(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    compatibleunit = models.TextField(blank=True)
    phasecode = models.TextField(blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    installstatus_id = models.CharField(max_length=250, blank=True)
    assembly_id = models.IntegerField(null=True, blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    openindicator = models.NullBooleanField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologyswitch"'
        app_label='djangoproject'

#"GisProduction"."Coopgissymbologytransformer" had 14707 rows.
class GisProductionCoopgissymbologytransformer(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.TextField(blank=True)
    compatibleunit = models.TextField(blank=True)
    circuitnumber = models.IntegerField(null=True, blank=True)
    tagnumber = models.TextField(blank=True)
    undergroundindicator = models.NullBooleanField(null=True, blank=True)
    station_id = models.IntegerField(null=True, blank=True)
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgissymbologytransformer"'
        app_label='djangoproject'

#"GisProduction"."County" had 47 rows.
class GisProductionCounty(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    descriptio = models.CharField(max_length=-1, blank=True)
    cisidentif = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."county"'
        app_label='djangoproject'

#"GisProduction"."Cutout" had 3546 rows.
class GisProductionCutout(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    fuseamprat = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."cutout"'
        app_label='djangoproject'

#"GisProduction"."DvStatus" had 1 rows.
class GisProductionDvStatus(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    last_step = models.IntegerField(null=True, blank=True)
    dv_connectivity = models.NullBooleanField(null=True, blank=True)
    step6_auto_mods = models.NullBooleanField(null=True, blank=True)
    run_by = models.CharField(max_length=-1, blank=True)
    run_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gis_production"."dv_status"'
        app_label='djangoproject'

#"GisProduction"."Feeder" had 56 rows.
class GisProductionFeeder(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    omscircuit = models.CharField(max_length=-1, blank=True)
    omssubstat = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."feeder"'
        app_label='djangoproject'

#"GisProduction"."Grid" had 93 rows.
class GisProductionGrid(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    descriptio = models.CharField(max_length=-1, blank=True)
    subgridind = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."grid"'
        app_label='djangoproject'

#"GisProduction"."Light" had 18100 rows.
class GisProductionLight(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    installsta = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    mapnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."light"'
        app_label='djangoproject'

#"GisProduction"."Meter" had 19803 rows.
class GisProductionMeter(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    activestat = models.CharField(max_length=-1, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    meternumbe = models.CharField(max_length=-1, blank=True)
    meterdcsin = models.CharField(max_length=-1, blank=True)
    oldmapnumb = models.CharField(max_length=-1, blank=True)
    meterform = models.CharField(max_length=-1, blank=True)
    circuitnum = models.CharField(max_length=-1, blank=True)
    nearbytagn = models.CharField(max_length=-1, blank=True)
    nearbymete = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."meter"'
        app_label='djangoproject'

#"GisProduction"."Openpoint" had 194 rows.
class GisProductionOpenpoint(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."openpoint"'
        app_label='djangoproject'

#"GisProduction"."Pole" had 41088 rows.
class GisProductionPole(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    jointuse = models.CharField(max_length=-1, blank=True)
    poletreatm = models.CharField(max_length=-1, blank=True)
    type = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."pole"'
        app_label='djangoproject'

#"GisProduction"."Primaryline" had 41606 rows.
class GisProductionPrimaryline(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    span_id = models.FloatField(null=True, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."primaryline"'
        app_label='djangoproject'

#"GisProduction"."Recloser" had 297 rows.
class GisProductionRecloser(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."recloser"'
        app_label='djangoproject'

#"GisProduction"."Regulator" had 17 rows.
class GisProductionRegulator(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."regulator"'
        app_label='djangoproject'

#"GisProduction"."Road" had 47822 rows.
class GisProductionRoad(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    name_01 = models.CharField(max_length=-1, blank=True)
    alternaten = models.CharField(max_length=-1, blank=True)
    number = models.CharField(max_length=-1, blank=True)
    interstate = models.CharField(max_length=-1, blank=True)
    ushighwayi = models.CharField(max_length=-1, blank=True)
    statehighw = models.CharField(max_length=-1, blank=True)
    mainroadin = models.CharField(max_length=-1, blank=True)
    leftfromad = models.CharField(max_length=-1, blank=True)
    lefttoaddr = models.CharField(max_length=-1, blank=True)
    rightfroma = models.CharField(max_length=-1, blank=True)
    righttoadd = models.CharField(max_length=-1, blank=True)
    residesons = models.CharField(max_length=-1, blank=True)
    createcomm = models.FloatField(null=True, blank=True)
    symbologyr = models.CharField(max_length=-1, blank=True)
    selectionu = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."road"'
        app_label='djangoproject'

#"GisProduction"."Secondaryline" had 40418 rows.
class GisProductionSecondaryline(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    span_id = models.FloatField(null=True, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."secondaryline"'
        app_label='djangoproject'

#"GisProduction"."Substation" had 14 rows.
class GisProductionSubstation(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    number = models.CharField(max_length=-1, blank=True)
    omsnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."substation"'
        app_label='djangoproject'

#"GisProduction"."Switch" had 417 rows.
class GisProductionSwitch(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    installsta = models.CharField(max_length=-1, blank=True)
    assembly_i = models.FloatField(null=True, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    openindica = models.CharField(max_length=-1, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."switch"'
        app_label='djangoproject'

#"GisProduction"."Transformer" had 15042 rows.
class GisProductionTransformer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    wkb_geometry = models.GeometryField(srid=26917, null=True, blank=True)
    id = models.FloatField(null=True, blank=True)
    rotation = models.FloatField(null=True, blank=True)
    phasecode = models.CharField(max_length=-1, blank=True)
    compatible = models.CharField(max_length=-1, blank=True)
    circuitnum = models.FloatField(null=True, blank=True)
    tagnumber = models.CharField(max_length=-1, blank=True)
    undergroun = models.CharField(max_length=-1, blank=True)
    station_id = models.FloatField(null=True, blank=True)
    transforme = models.CharField(max_length=-1, blank=True)
    transfo_01 = models.FloatField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."transformer"'
        app_label='djangoproject'

#"GosBackup"."Cm" had 19803 rows.
class GosBackupCm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    cm_count = models.IntegerField(null=True, blank=True)
    mtr_status = models.IntegerField(null=True, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.IntegerField(null=True, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    acctno = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    matchoncolumn = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."cm"'
        app_label='djangoproject'

#"GosBackup"."Consumer" had 17479 rows.
class GosBackupConsumer(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    acctno = models.CharField(max_length=-1)
    mtr_status = models.IntegerField(null=True, blank=True)
    volt_fluct = models.DecimalField(null=True, max_digits=8, decimal_places=3, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."consumer"'
        app_label='djangoproject'

#"GosBackup"."DummyGeodata" had 1 rows.
class GosBackupDummyGeodata(models.Model):
    using = 'oms'
    geodata = models.GeometryField(primary_key=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."dummy_geodata"'
        app_label='djangoproject'

#"GosBackup"."DvStatus" had 1 rows.
class GosBackupDvStatus(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    last_step = models.IntegerField(null=True, blank=True)
    dv_connectivity = models.NullBooleanField(null=True, blank=True)
    step6_auto_mods = models.NullBooleanField(null=True, blank=True)
    run_by = models.CharField(max_length=-1, blank=True)
    run_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gos_backup"."dv_status"'
        app_label='djangoproject'

#"GosBackup"."Gosxreftable" had 121216 rows.
class GosBackupGosxreftable(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    gos_id = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    gostablename = models.CharField(max_length=-1, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    orig_substation = models.IntegerField(null=True, blank=True)
    orig_feeder = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."gosxreftable"'
        app_label='djangoproject'

#"GosBackup"."Grid" had 93 rows.
class GosBackupGrid(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."grid"'
        app_label='djangoproject'

#"GosBackup"."Highways" had 33343 rows.
class GosBackupHighways(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    highwayname = models.CharField(max_length=-1, blank=True)
    highwaytype = models.CharField(max_length=-1, blank=True)
    hwynumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."highways"'
        app_label='djangoproject'

#"GosBackup"."LandbasePoly" had 47 rows.
class GosBackupLandbasePoly(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    poly_type = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."landbase_poly"'
        app_label='djangoproject'

#"GosBackup"."Lights" had 18088 rows.
class GosBackupLights(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    acctid = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."lights"'
        app_label='djangoproject'

#"GosBackup"."Openpoint" had 194 rows.
class GosBackupOpenpoint(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."openpoint"'
        app_label='djangoproject'

#"GosBackup"."Pd" had 3860 rows.
class GosBackupPd(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."pd"'
        app_label='djangoproject'

#"GosBackup"."PhaseExceptions" had 549 rows.
class GosBackupPhaseExceptions(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    exception = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField()
    feeder = models.IntegerField()
    child = models.CharField(max_length=-1, blank=True)
    parent = models.CharField(max_length=-1, blank=True)
    createdate = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gos_backup"."phase_exceptions"'
        app_label='djangoproject'

#"GosBackup"."Pl" had 41604 rows.
class GosBackupPl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    overhead = models.CharField(max_length=-1, blank=True)
    ref_enetworkid = models.CharField(max_length=-1, blank=True)
    ref_startpoint = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."pl"'
        app_label='djangoproject'

#"GosBackup"."Poles" had 41088 rows.
class GosBackupPoles(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."poles"'
        app_label='djangoproject'

#"GosBackup"."Sl" had 40418 rows.
class GosBackupSl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    overhead = models.CharField(max_length=-1, blank=True)
    ref_enetworkid = models.CharField(max_length=-1, blank=True)
    ref_startpoint = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."sl"'
        app_label='djangoproject'

#"GosBackup"."Streets" had 47822 rows.
class GosBackupStreets(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    streetname = models.CharField(max_length=-1, blank=True)
    hwytype = models.CharField(max_length=-1, blank=True)
    streettype = models.CharField(max_length=-1, blank=True)
    hwynumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."streets"'
        app_label='djangoproject'

#"GosBackup"."Substation" had 13 rows.
class GosBackupSubstation(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    is_dummy = models.BooleanField()
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."substation"'
        app_label='djangoproject'

#"GosBackup"."Sw" had 476 rows.
class GosBackupSw(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."sw"'
        app_label='djangoproject'

#"GosBackup"."SwitchConn" had 893 rows.
class GosBackupSwitchConn(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    switch_enetworkid = models.CharField(max_length=-1)
    conn_enetworkid = models.CharField(max_length=-1)
    class Meta:
        db_table = '"gos_backup"."switch_conn"'
        app_label='djangoproject'

#"GosBackup"."Xfm" had 15042 rows.
class GosBackupXfm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."xfm"'
        app_label='djangoproject'

#"GosBuild"."Cm" had 19804 rows.
class GosBuildCm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    cm_count = models.IntegerField(null=True, blank=True)
    mtr_status = models.IntegerField(null=True, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.IntegerField(null=True, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    acctno = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    matchoncolumn = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."cm"'
        app_label='djangoproject'

#"GosBuild"."DummyGeodata" had 1 rows.
class GosBuildDummyGeodata(models.Model):
    using = 'oms'
    geodata = models.GeometryField(primary_key=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."dummy_geodata"'
        app_label='djangoproject'

#"GosBuild"."DvStatus" had 1 rows.
class GosBuildDvStatus(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    last_step = models.IntegerField(null=True, blank=True)
    dv_connectivity = models.NullBooleanField(null=True, blank=True)
    step6_auto_mods = models.NullBooleanField(null=True, blank=True)
    run_by = models.CharField(max_length=-1, blank=True)
    run_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gos_build"."dv_status"'
        app_label='djangoproject'

#"GosBuild"."Grid" had 93 rows.
class GosBuildGrid(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."grid"'
        app_label='djangoproject'

#"GosBuild"."Highways" had 33343 rows.
class GosBuildHighways(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    highwayname = models.CharField(max_length=-1, blank=True)
    highwaytype = models.CharField(max_length=-1, blank=True)
    hwynumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."highways"'
        app_label='djangoproject'

#"GosBuild"."LandbasePoly" had 47 rows.
class GosBuildLandbasePoly(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    poly_type = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."landbase_poly"'
        app_label='djangoproject'

#"GosBuild"."Lights" had 18088 rows.
class GosBuildLights(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    acctid = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."lights"'
        app_label='djangoproject'

#"GosBuild"."Openpoint" had 193 rows.
class GosBuildOpenpoint(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."openpoint"'
        app_label='djangoproject'

#"GosBuild"."Pd" had 3862 rows.
class GosBuildPd(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."pd"'
        app_label='djangoproject'

#"GosBuild"."PhaseExceptions" had 233 rows.
class GosBuildPhaseExceptions(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    exception = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField()
    feeder = models.IntegerField()
    child = models.CharField(max_length=-1, blank=True)
    parent = models.CharField(max_length=-1, blank=True)
    createdate = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gos_build"."phase_exceptions"'
        app_label='djangoproject'

#"GosBuild"."Pl" had 41604 rows.
class GosBuildPl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    overhead = models.CharField(max_length=-1, blank=True)
    ref_enetworkid = models.CharField(max_length=-1, blank=True)
    ref_startpoint = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."pl"'
        app_label='djangoproject'

#"GosBuild"."Poles" had 41088 rows.
class GosBuildPoles(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."poles"'
        app_label='djangoproject'

#"GosBuild"."Sl" had 40422 rows.
class GosBuildSl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    overhead = models.CharField(max_length=-1, blank=True)
    ref_enetworkid = models.CharField(max_length=-1, blank=True)
    ref_startpoint = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."sl"'
        app_label='djangoproject'

#"GosBuild"."Streets" had 47822 rows.
class GosBuildStreets(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    streetname = models.CharField(max_length=-1, blank=True)
    hwytype = models.CharField(max_length=-1, blank=True)
    streettype = models.CharField(max_length=-1, blank=True)
    hwynumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."streets"'
        app_label='djangoproject'

#"GosBuild"."Substation" had 13 rows.
class GosBuildSubstation(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    is_dummy = models.BooleanField()
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."substation"'
        app_label='djangoproject'

#"GosBuild"."Sw" had 476 rows.
class GosBuildSw(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."sw"'
        app_label='djangoproject'

#"GosBuild"."SwitchConn" had 885 rows.
class GosBuildSwitchConn(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    switch_enetworkid = models.CharField(max_length=-1)
    conn_enetworkid = models.CharField(max_length=-1)
    class Meta:
        db_table = '"gos_build"."switch_conn"'
        app_label='djangoproject'

#"GosBuild"."Xfm" had 15339 rows.
class GosBuildXfm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."xfm"'
        app_label='djangoproject'

#"GosProduction"."Cm" had 19803 rows.
class GosProductionCm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    cm_count = models.IntegerField(null=True, blank=True)
    mtr_status = models.IntegerField(null=True, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.IntegerField(null=True, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    acctno = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    matchoncolumn = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."cm"'
        app_label='djangoproject'

#"GosProduction"."Consumer" had 17481 rows.
class GosProductionConsumer(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    acctno = models.CharField(max_length=-1)
    mtr_status = models.IntegerField(null=True, blank=True)
    volt_fluct = models.DecimalField(null=True, max_digits=8, decimal_places=3, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."consumer"'
        app_label='djangoproject'

#"GosProduction"."DummyGeodata" had 1 rows.
class GosProductionDummyGeodata(models.Model):
    using = 'oms'
    geodata = models.GeometryField(primary_key=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."dummy_geodata"'
        app_label='djangoproject'

#"GosProduction"."DvStatus" had 1 rows.
class GosProductionDvStatus(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    job_id = models.IntegerField()
    last_step = models.IntegerField(null=True, blank=True)
    dv_connectivity = models.NullBooleanField(null=True, blank=True)
    step6_auto_mods = models.NullBooleanField(null=True, blank=True)
    run_by = models.CharField(max_length=-1, blank=True)
    run_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gos_production"."dv_status"'
        app_label='djangoproject'

#"GosProduction"."Gosxreftable" had 121515 rows.
class GosProductionGosxreftable(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    gos_id = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    gostablename = models.CharField(max_length=-1, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    orig_substation = models.IntegerField(null=True, blank=True)
    orig_feeder = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."gosxreftable"'
        app_label='djangoproject'

#"GosProduction"."Grid" had 93 rows.
class GosProductionGrid(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."grid"'
        app_label='djangoproject'

#"GosProduction"."Highways" had 33343 rows.
class GosProductionHighways(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    highwayname = models.CharField(max_length=-1, blank=True)
    highwaytype = models.CharField(max_length=-1, blank=True)
    hwynumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."highways"'
        app_label='djangoproject'

#"GosProduction"."LandbasePoly" had 47 rows.
class GosProductionLandbasePoly(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    poly_type = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."landbase_poly"'
        app_label='djangoproject'

#"GosProduction"."Lights" had 18088 rows.
class GosProductionLights(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    acctid = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."lights"'
        app_label='djangoproject'

#"GosProduction"."Openpoint" had 194 rows.
class GosProductionOpenpoint(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."openpoint"'
        app_label='djangoproject'

#"GosProduction"."Pd" had 3860 rows.
class GosProductionPd(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."pd"'
        app_label='djangoproject'

#"GosProduction"."PhaseExceptions" had 208 rows.
class GosProductionPhaseExceptions(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    exception = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField()
    feeder = models.IntegerField()
    child = models.CharField(max_length=-1, blank=True)
    parent = models.CharField(max_length=-1, blank=True)
    createdate = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"gos_production"."phase_exceptions"'
        app_label='djangoproject'

#"GosProduction"."Pl" had 41606 rows.
class GosProductionPl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    overhead = models.CharField(max_length=-1, blank=True)
    ref_enetworkid = models.CharField(max_length=-1, blank=True)
    ref_startpoint = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."pl"'
        app_label='djangoproject'

#"GosProduction"."Poles" had 41088 rows.
class GosProductionPoles(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."poles"'
        app_label='djangoproject'

#"GosProduction"."Sl" had 40418 rows.
class GosProductionSl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    overhead = models.CharField(max_length=-1, blank=True)
    ref_enetworkid = models.CharField(max_length=-1, blank=True)
    ref_startpoint = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."sl"'
        app_label='djangoproject'

#"GosProduction"."Streets" had 47822 rows.
class GosProductionStreets(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    streetname = models.CharField(max_length=-1, blank=True)
    hwytype = models.CharField(max_length=-1, blank=True)
    streettype = models.CharField(max_length=-1, blank=True)
    hwynumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."streets"'
        app_label='djangoproject'

#"GosProduction"."Substation" had 13 rows.
class GosProductionSubstation(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    is_dummy = models.BooleanField()
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."substation"'
        app_label='djangoproject'

#"GosProduction"."Sw" had 476 rows.
class GosProductionSw(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."sw"'
        app_label='djangoproject'

#"GosProduction"."SwitchConn" had 890 rows.
class GosProductionSwitchConn(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    switch_enetworkid = models.CharField(max_length=-1)
    conn_enetworkid = models.CharField(max_length=-1)
    class Meta:
        db_table = '"gos_production"."switch_conn"'
        app_label='djangoproject'

#"GosProduction"."Xfm" had 15339 rows.
class GosProductionXfm(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."xfm"'
        app_label='djangoproject'

#"Ims"."Incident" had 20 rows.
class ImsIncident(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    incident_id = models.CharField(max_length=-1)
    create_date = models.DateTimeField(null=True, blank=True)
    service_index = models.IntegerField()
    group_id = models.CharField(max_length=-1, blank=True)
    device_id_phase_a = models.CharField(max_length=-1, blank=True)
    device_id_phase_b = models.CharField(max_length=-1, blank=True)
    device_id_phase_c = models.CharField(max_length=-1, blank=True)
    status = models.IntegerField(null=True, blank=True)
    outage_type = models.IntegerField(null=True, blank=True)
    start_date = models.DateTimeField()
    entered_by = models.CharField(max_length=-1, blank=True)
    equip_code = models.IntegerField(null=True, blank=True)
    cause_code = models.IntegerField(null=True, blank=True)
    class_code = models.CharField(max_length=1, blank=True)
    fail_code = models.IntegerField(null=True, blank=True)
    opt1_code = models.IntegerField(null=True, blank=True)
    opt2_code = models.IntegerField(null=True, blank=True)
    acctno = models.CharField(max_length=-1, blank=True)
    callback_phone = models.CharField(max_length=-1, blank=True)
    callback_flag = models.IntegerField(null=True, blank=True)
    phases_used = models.CharField(max_length=3, blank=True)
    phase_status = models.CharField(max_length=3, blank=True)
    linesection = models.CharField(max_length=-1, blank=True)
    device_code = models.CharField(max_length=-1, blank=True)
    device_code_desc = models.CharField(max_length=-1, blank=True)
    wavefile_name = models.CharField(max_length=-1, blank=True)
    wavefile_played = models.IntegerField(null=True, blank=True)
    consumers_affected = models.IntegerField(null=True, blank=True)
    outage_comment = models.CharField(max_length=-1, blank=True)
    restore_comment = models.CharField(max_length=-1, blank=True)
    closed_date = models.DateTimeField(null=True, blank=True)
    closed_by = models.CharField(max_length=-1, blank=True)
    email_address = models.CharField(max_length=-1, blank=True)
    service_location = models.CharField(max_length=-1, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    account_name = models.CharField(max_length=-1, blank=True)
    misc1 = models.CharField(max_length=-1, blank=True)
    misc2 = models.CharField(max_length=-1, blank=True)
    misc3 = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    estimated_restore_time = models.DateTimeField(null=True, blank=True)
    meter_status = models.IntegerField(null=True, blank=True)
    meter_number = models.CharField(max_length=-1, blank=True)
    pole = models.CharField(max_length=-1, blank=True)
    map_location = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    caller_id = models.CharField(max_length=-1, blank=True)
    num_incidents = models.IntegerField(null=True, blank=True)
    missing_consumer_count = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"ims"."incident"'
        app_label='djangoproject'

#"Ims"."IncidentPostprocessing" had 25 rows.
class ImsIncidentPostprocessing(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    incident_id = models.CharField(max_length=-1)
    incident_action = models.CharField(max_length=-1)
    notify_ah_processed = models.IntegerField(null=True, blank=True)
    notify_ah_jobid = models.IntegerField(null=True, blank=True)
    notify_ka_processed = models.IntegerField(null=True, blank=True)
    notify_ka_jobid = models.IntegerField(null=True, blank=True)
    notify_ci_processed = models.IntegerField(null=True, blank=True)
    tfcc_processed = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"ims"."incident_postprocessing"'
        app_label='djangoproject'

#"Ims"."SwitchingHistory" had 18 rows.
class ImsSwitchingHistory(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField()
    enetworkid = models.CharField(max_length=-1)
    user_name = models.CharField(max_length=-1)
    new_ims_sw_pos = models.IntegerField()
    complete_date = models.DateTimeField(null=True, blank=True)
    error = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    correlator = models.CharField(max_length=-1, blank=True)
    other_info = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"ims"."switching_history"'
        app_label='djangoproject'

#"Ims"."Trace" had 36 rows.
class ImsTrace(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    trace_id = models.CharField(max_length=-1)
    serviceindex = models.IntegerField(null=True, blank=True)
    gos_tablename = models.CharField(max_length=-1)
    gos_id = models.IntegerField()
    enetworkid = models.CharField(max_length=-1)
    enettype = models.CharField(max_length=-1)
    phase = models.CharField(max_length=-1, blank=True)
    geodata = models.GeometryField()
    objects = models.GeoManager()
    class Meta:
        db_table = '"ims"."trace"'
        app_label='djangoproject'

#"Ims"."TraceHistory" had 7 rows.
class ImsTraceHistory(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    trace_id = models.CharField(max_length=-1)
    request_time = models.DateTimeField()
    request_complete = models.NullBooleanField(null=True, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    start_enetworkid = models.CharField(max_length=-1)
    trace_direction = models.CharField(max_length=-1)
    completion_info = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"ims"."trace_history"'
        app_label='djangoproject'

#"InformationSchema"."SqlFeatures" had 650 rows.
class InformationSchemaSqlFeatures(models.Model):
    using = 'oms'
    feature_id = models.CharField(primary_key=True, max_length=-1)
    feature_name = models.CharField(max_length=-1, blank=True)
    sub_feature_id = models.CharField(max_length=-1, blank=True)
    sub_feature_name = models.CharField(max_length=-1, blank=True)
    is_supported = models.CharField(max_length=3, blank=True)
    is_verified_by = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_features"'
        app_label='djangoproject'

#"InformationSchema"."SqlImplementationInfo" had 12 rows.
class InformationSchemaSqlImplementationInfo(models.Model):
    using = 'oms'
    implementation_info_id = models.CharField(primary_key=True, max_length=-1)
    implementation_info_name = models.CharField(max_length=-1, blank=True)
    integer_value = models.IntegerField(null=True, blank=True)
    character_value = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_implementation_info"'
        app_label='djangoproject'

#"InformationSchema"."SqlLanguages" had 4 rows.
class InformationSchemaSqlLanguages(models.Model):
    using = 'oms'
    sql_language_source = models.CharField(primary_key=True, max_length=-1)
    sql_language_year = models.CharField(max_length=-1, blank=True)
    sql_language_conformance = models.CharField(max_length=-1, blank=True)
    sql_language_integrity = models.CharField(max_length=-1, blank=True)
    sql_language_implementation = models.CharField(max_length=-1, blank=True)
    sql_language_binding_style = models.CharField(max_length=-1, blank=True)
    sql_language_programming_language = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_languages"'
        app_label='djangoproject'

#"InformationSchema"."SqlPackages" had 10 rows.
class InformationSchemaSqlPackages(models.Model):
    using = 'oms'
    feature_id = models.CharField(primary_key=True, max_length=-1)
    feature_name = models.CharField(max_length=-1, blank=True)
    is_supported = models.CharField(max_length=3, blank=True)
    is_verified_by = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_packages"'
        app_label='djangoproject'

#"InformationSchema"."SqlParts" had 9 rows.
class InformationSchemaSqlParts(models.Model):
    using = 'oms'
    feature_id = models.CharField(primary_key=True, max_length=-1)
    feature_name = models.CharField(max_length=-1, blank=True)
    is_supported = models.CharField(max_length=3, blank=True)
    is_verified_by = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_parts"'
        app_label='djangoproject'

#"InformationSchema"."SqlSizing" had 23 rows.
class InformationSchemaSqlSizing(models.Model):
    using = 'oms'
    sizing_id = models.IntegerField(primary_key=True)
    sizing_name = models.CharField(max_length=-1, blank=True)
    supported_value = models.IntegerField(null=True, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_sizing"'
        app_label='djangoproject'

#"MapReports"."Consumer" had 3983 rows.
class MapReportsConsumer(models.Model):
    using = 'oms'
    cid = models.IntegerField(primary_key=True)
    report_id = models.IntegerField()
    count = models.IntegerField()
    accountnumber = models.CharField(max_length=-1)
    serviceindex = models.SmallIntegerField(null=True, blank=True)
    optcodeid = models.CharField(max_length=-1, blank=True)
    optcodedescription = models.CharField(max_length=-1, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"map_reports"."consumer"'
        app_label='djangoproject'

#"MapReports"."Report" had 1 rows.
class MapReportsReport(models.Model):
    using = 'oms'
    report_id = models.IntegerField(primary_key=True)
    requestedby = models.CharField(max_length=-1)
    startdate = models.DateTimeField()
    enddate = models.DateTimeField()
    serviceindex = models.SmallIntegerField()
    district = models.CharField(max_length=-1, blank=True)
    optcodeindex = models.SmallIntegerField()
    optcodeid = models.CharField(max_length=-1, blank=True)
    title = models.CharField(max_length=-1, blank=True)
    completiondate = models.DateTimeField(null=True, blank=True)
    optcodeidxtitle = models.CharField(max_length=-1, blank=True)
    optcodeiddescription = models.CharField(max_length=-1, blank=True)
    servicedescription = models.CharField(max_length=-1, blank=True)
    districtname = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"map_reports"."report"'
        app_label='djangoproject'

#"PgCatalog"."PgAggregate" had 136 rows.
class PgCatalogPgAggregate(models.Model):
    using = 'oms'
    aggfnoid = models.TextField(primary_key=True) # This field type is a guess.
    aggtransfn = models.TextField() # This field type is a guess.
    aggfinalfn = models.TextField() # This field type is a guess.
    aggsortop = models.TextField() # This field type is a guess.
    aggtranstype = models.TextField() # This field type is a guess.
    agginitval = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_aggregate"'
        app_label='djangoproject'

#"PgCatalog"."PgAm" had 4 rows.
class PgCatalogPgAm(models.Model):
    using = 'oms'
    amname = models.TextField(primary_key=True) # This field type is a guess.
    amstrategies = models.SmallIntegerField()
    amsupport = models.SmallIntegerField()
    amcanorder = models.BooleanField()
    amcanorderbyop = models.BooleanField()
    amcanbackward = models.BooleanField()
    amcanunique = models.BooleanField()
    amcanmulticol = models.BooleanField()
    amoptionalkey = models.BooleanField()
    amsearchnulls = models.BooleanField()
    amstorage = models.BooleanField()
    amclusterable = models.BooleanField()
    ampredlocks = models.BooleanField()
    amkeytype = models.TextField() # This field type is a guess.
    aminsert = models.TextField() # This field type is a guess.
    ambeginscan = models.TextField() # This field type is a guess.
    amgettuple = models.TextField() # This field type is a guess.
    amgetbitmap = models.TextField() # This field type is a guess.
    amrescan = models.TextField() # This field type is a guess.
    amendscan = models.TextField() # This field type is a guess.
    ammarkpos = models.TextField() # This field type is a guess.
    amrestrpos = models.TextField() # This field type is a guess.
    ambuild = models.TextField() # This field type is a guess.
    ambuildempty = models.TextField() # This field type is a guess.
    ambulkdelete = models.TextField() # This field type is a guess.
    amvacuumcleanup = models.TextField() # This field type is a guess.
    amcostestimate = models.TextField() # This field type is a guess.
    amoptions = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_am"'
        app_label='djangoproject'

#"PgCatalog"."PgAmop" had 382 rows.
class PgCatalogPgAmop(models.Model):
    using = 'oms'
    amopfamily = models.TextField(primary_key=True) # This field type is a guess.
    amoplefttype = models.TextField() # This field type is a guess.
    amoprighttype = models.TextField() # This field type is a guess.
    amopstrategy = models.SmallIntegerField()
    amoppurpose = models.TextField() # This field type is a guess.
    amopopr = models.TextField() # This field type is a guess.
    amopmethod = models.TextField() # This field type is a guess.
    amopsortfamily = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_amop"'
        app_label='djangoproject'

#"PgCatalog"."PgAmproc" had 268 rows.
class PgCatalogPgAmproc(models.Model):
    using = 'oms'
    amprocfamily = models.TextField(primary_key=True) # This field type is a guess.
    amproclefttype = models.TextField() # This field type is a guess.
    amprocrighttype = models.TextField() # This field type is a guess.
    amprocnum = models.SmallIntegerField()
    amproc = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_amproc"'
        app_label='djangoproject'

#"PgCatalog"."PgAttrdef" had 1597 rows.
class PgCatalogPgAttrdef(models.Model):
    using = 'oms'
    adrelid = models.TextField(primary_key=True) # This field type is a guess.
    adnum = models.SmallIntegerField()
    adbin = models.TextField(blank=True) # This field type is a guess.
    adsrc = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_attrdef"'
        app_label='djangoproject'

#"PgCatalog"."PgAttribute" had 19388 rows.
class PgCatalogPgAttribute(models.Model):
    using = 'oms'
    attrelid = models.TextField(primary_key=True) # This field type is a guess.
    attname = models.TextField() # This field type is a guess.
    atttypid = models.TextField() # This field type is a guess.
    attstattarget = models.IntegerField()
    attlen = models.SmallIntegerField()
    attnum = models.SmallIntegerField()
    attndims = models.IntegerField()
    attcacheoff = models.IntegerField()
    atttypmod = models.IntegerField()
    attbyval = models.BooleanField()
    attstorage = models.TextField() # This field type is a guess.
    attalign = models.TextField() # This field type is a guess.
    attnotnull = models.BooleanField()
    atthasdef = models.BooleanField()
    attisdropped = models.BooleanField()
    attislocal = models.BooleanField()
    attinhcount = models.IntegerField()
    attcollation = models.TextField() # This field type is a guess.
    attacl = models.TextField(blank=True) # This field type is a guess.
    attoptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_attribute"'
        app_label='djangoproject'

#"PgCatalog"."PgAuthid" had 3 rows.
class PgCatalogPgAuthid(models.Model):
    using = 'oms'
    rolname = models.TextField(primary_key=True) # This field type is a guess.
    rolsuper = models.BooleanField()
    rolinherit = models.BooleanField()
    rolcreaterole = models.BooleanField()
    rolcreatedb = models.BooleanField()
    rolcatupdate = models.BooleanField()
    rolcanlogin = models.BooleanField()
    rolreplication = models.BooleanField()
    rolconnlimit = models.IntegerField()
    rolpassword = models.TextField(blank=True)
    rolvaliduntil = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_authid"'
        app_label='djangoproject'

#"PgCatalog"."PgCast" had 215 rows.
class PgCatalogPgCast(models.Model):
    using = 'oms'
    castsource = models.TextField(primary_key=True) # This field type is a guess.
    casttarget = models.TextField() # This field type is a guess.
    castfunc = models.TextField() # This field type is a guess.
    castcontext = models.TextField() # This field type is a guess.
    castmethod = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_cast"'
        app_label='djangoproject'

#"PgCatalog"."PgClass" had 2112 rows.
class PgCatalogPgClass(models.Model):
    using = 'oms'
    relname = models.TextField(primary_key=True) # This field type is a guess.
    relnamespace = models.TextField() # This field type is a guess.
    reltype = models.TextField() # This field type is a guess.
    reloftype = models.TextField() # This field type is a guess.
    relowner = models.TextField() # This field type is a guess.
    relam = models.TextField() # This field type is a guess.
    relfilenode = models.TextField() # This field type is a guess.
    reltablespace = models.TextField() # This field type is a guess.
    relpages = models.IntegerField()
    reltuples = models.FloatField()
    reltoastrelid = models.TextField() # This field type is a guess.
    reltoastidxid = models.TextField() # This field type is a guess.
    relhasindex = models.BooleanField()
    relisshared = models.BooleanField()
    relpersistence = models.TextField() # This field type is a guess.
    relkind = models.TextField() # This field type is a guess.
    relnatts = models.SmallIntegerField()
    relchecks = models.SmallIntegerField()
    relhasoids = models.BooleanField()
    relhaspkey = models.BooleanField()
    relhasrules = models.BooleanField()
    relhastriggers = models.BooleanField()
    relhassubclass = models.BooleanField()
    relfrozenxid = models.TextField() # This field type is a guess.
    relacl = models.TextField(blank=True) # This field type is a guess.
    reloptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_class"'
        app_label='djangoproject'

#"PgCatalog"."PgCollation" had 3 rows.
class PgCatalogPgCollation(models.Model):
    using = 'oms'
    collname = models.TextField(primary_key=True) # This field type is a guess.
    collnamespace = models.TextField() # This field type is a guess.
    collowner = models.TextField() # This field type is a guess.
    collencoding = models.IntegerField()
    collcollate = models.TextField() # This field type is a guess.
    collctype = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_collation"'
        app_label='djangoproject'

#"PgCatalog"."PgConstraint" had 731 rows.
class PgCatalogPgConstraint(models.Model):
    using = 'oms'
    conname = models.TextField(primary_key=True) # This field type is a guess.
    connamespace = models.TextField() # This field type is a guess.
    contype = models.TextField() # This field type is a guess.
    condeferrable = models.BooleanField()
    condeferred = models.BooleanField()
    convalidated = models.BooleanField()
    conrelid = models.TextField() # This field type is a guess.
    contypid = models.TextField() # This field type is a guess.
    conindid = models.TextField() # This field type is a guess.
    confrelid = models.TextField() # This field type is a guess.
    confupdtype = models.TextField() # This field type is a guess.
    confdeltype = models.TextField() # This field type is a guess.
    confmatchtype = models.TextField() # This field type is a guess.
    conislocal = models.BooleanField()
    coninhcount = models.IntegerField()
    conkey = models.TextField(blank=True) # This field type is a guess.
    confkey = models.TextField(blank=True) # This field type is a guess.
    conpfeqop = models.TextField(blank=True) # This field type is a guess.
    conppeqop = models.TextField(blank=True) # This field type is a guess.
    conffeqop = models.TextField(blank=True) # This field type is a guess.
    conexclop = models.TextField(blank=True) # This field type is a guess.
    conbin = models.TextField(blank=True) # This field type is a guess.
    consrc = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_constraint"'
        app_label='djangoproject'

#"PgCatalog"."PgConversion" had 132 rows.
class PgCatalogPgConversion(models.Model):
    using = 'oms'
    conname = models.TextField(primary_key=True) # This field type is a guess.
    connamespace = models.TextField() # This field type is a guess.
    conowner = models.TextField() # This field type is a guess.
    conforencoding = models.IntegerField()
    contoencoding = models.IntegerField()
    conproc = models.TextField() # This field type is a guess.
    condefault = models.BooleanField()
    class Meta:
        db_table = '"pg_catalog"."pg_conversion"'
        app_label='djangoproject'

#"PgCatalog"."PgDatabase" had 6 rows.
class PgCatalogPgDatabase(models.Model):
    using = 'oms'
    datname = models.TextField(primary_key=True) # This field type is a guess.
    datdba = models.TextField() # This field type is a guess.
    encoding = models.IntegerField()
    datcollate = models.TextField() # This field type is a guess.
    datctype = models.TextField() # This field type is a guess.
    datistemplate = models.BooleanField()
    datallowconn = models.BooleanField()
    datconnlimit = models.IntegerField()
    datlastsysoid = models.TextField() # This field type is a guess.
    datfrozenxid = models.TextField() # This field type is a guess.
    dattablespace = models.TextField() # This field type is a guess.
    datacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_database"'
        app_label='djangoproject'

#"PgCatalog"."PgDepend" had 15742 rows.
class PgCatalogPgDepend(models.Model):
    using = 'oms'
    classid = models.TextField(primary_key=True) # This field type is a guess.
    objid = models.TextField() # This field type is a guess.
    objsubid = models.IntegerField()
    refclassid = models.TextField() # This field type is a guess.
    refobjid = models.TextField() # This field type is a guess.
    refobjsubid = models.IntegerField()
    deptype = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_depend"'
        app_label='djangoproject'

#"PgCatalog"."PgDescription" had 3939 rows.
class PgCatalogPgDescription(models.Model):
    using = 'oms'
    objoid = models.TextField(primary_key=True) # This field type is a guess.
    classoid = models.TextField() # This field type is a guess.
    objsubid = models.IntegerField()
    description = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_description"'
        app_label='djangoproject'

#"PgCatalog"."PgExtension" had 1 rows.
class PgCatalogPgExtension(models.Model):
    using = 'oms'
    extname = models.TextField(primary_key=True) # This field type is a guess.
    extowner = models.TextField() # This field type is a guess.
    extnamespace = models.TextField() # This field type is a guess.
    extrelocatable = models.BooleanField()
    extversion = models.TextField(blank=True)
    extconfig = models.TextField(blank=True) # This field type is a guess.
    extcondition = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_extension"'
        app_label='djangoproject'

#"PgCatalog"."PgIndex" had 922 rows.
class PgCatalogPgIndex(models.Model):
    using = 'oms'
    indexrelid = models.TextField(primary_key=True) # This field type is a guess.
    indrelid = models.TextField() # This field type is a guess.
    indnatts = models.SmallIntegerField()
    indisunique = models.BooleanField()
    indisprimary = models.BooleanField()
    indisexclusion = models.BooleanField()
    indimmediate = models.BooleanField()
    indisclustered = models.BooleanField()
    indisvalid = models.BooleanField()
    indcheckxmin = models.BooleanField()
    indisready = models.BooleanField()
    indkey = models.TextField() # This field type is a guess.
    indcollation = models.TextField() # This field type is a guess.
    indclass = models.TextField() # This field type is a guess.
    indoption = models.TextField() # This field type is a guess.
    indexprs = models.TextField(blank=True) # This field type is a guess.
    indpred = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_index"'
        app_label='djangoproject'

#"PgCatalog"."PgLanguage" had 4 rows.
class PgCatalogPgLanguage(models.Model):
    using = 'oms'
    lanname = models.TextField(primary_key=True) # This field type is a guess.
    lanowner = models.TextField() # This field type is a guess.
    lanispl = models.BooleanField()
    lanpltrusted = models.BooleanField()
    lanplcallfoid = models.TextField() # This field type is a guess.
    laninline = models.TextField() # This field type is a guess.
    lanvalidator = models.TextField() # This field type is a guess.
    lanacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_language"'
        app_label='djangoproject'

#"PgCatalog"."PgNamespace" had 50 rows.
class PgCatalogPgNamespace(models.Model):
    using = 'oms'
    nspname = models.TextField(primary_key=True) # This field type is a guess.
    nspowner = models.TextField() # This field type is a guess.
    nspacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_namespace"'
        app_label='djangoproject'

#"PgCatalog"."PgOpclass" had 117 rows.
class PgCatalogPgOpclass(models.Model):
    using = 'oms'
    opcmethod = models.TextField(primary_key=True) # This field type is a guess.
    opcname = models.TextField() # This field type is a guess.
    opcnamespace = models.TextField() # This field type is a guess.
    opcowner = models.TextField() # This field type is a guess.
    opcfamily = models.TextField() # This field type is a guess.
    opcintype = models.TextField() # This field type is a guess.
    opcdefault = models.BooleanField()
    opckeytype = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_opclass"'
        app_label='djangoproject'

#"PgCatalog"."PgOperator" had 729 rows.
class PgCatalogPgOperator(models.Model):
    using = 'oms'
    oprname = models.TextField(primary_key=True) # This field type is a guess.
    oprnamespace = models.TextField() # This field type is a guess.
    oprowner = models.TextField() # This field type is a guess.
    oprkind = models.TextField() # This field type is a guess.
    oprcanmerge = models.BooleanField()
    oprcanhash = models.BooleanField()
    oprleft = models.TextField() # This field type is a guess.
    oprright = models.TextField() # This field type is a guess.
    oprresult = models.TextField() # This field type is a guess.
    oprcom = models.TextField() # This field type is a guess.
    oprnegate = models.TextField() # This field type is a guess.
    oprcode = models.TextField() # This field type is a guess.
    oprrest = models.TextField() # This field type is a guess.
    oprjoin = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_operator"'
        app_label='djangoproject'

#"PgCatalog"."PgOpfamily" had 74 rows.
class PgCatalogPgOpfamily(models.Model):
    using = 'oms'
    opfmethod = models.TextField(primary_key=True) # This field type is a guess.
    opfname = models.TextField() # This field type is a guess.
    opfnamespace = models.TextField() # This field type is a guess.
    opfowner = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_opfamily"'
        app_label='djangoproject'

#"PgCatalog"."PgPltemplate" had 8 rows.
class PgCatalogPgPltemplate(models.Model):
    using = 'oms'
    tmplname = models.TextField(primary_key=True) # This field type is a guess.
    tmpltrusted = models.BooleanField()
    tmpldbacreate = models.BooleanField()
    tmplhandler = models.TextField(blank=True)
    tmplinline = models.TextField(blank=True)
    tmplvalidator = models.TextField(blank=True)
    tmpllibrary = models.TextField(blank=True)
    tmplacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_pltemplate"'
        app_label='djangoproject'

#"PgCatalog"."PgProc" had 3145 rows.
class PgCatalogPgProc(models.Model):
    using = 'oms'
    proname = models.TextField(primary_key=True) # This field type is a guess.
    pronamespace = models.TextField() # This field type is a guess.
    proowner = models.TextField() # This field type is a guess.
    prolang = models.TextField() # This field type is a guess.
    procost = models.FloatField()
    prorows = models.FloatField()
    provariadic = models.TextField() # This field type is a guess.
    proisagg = models.BooleanField()
    proiswindow = models.BooleanField()
    prosecdef = models.BooleanField()
    proisstrict = models.BooleanField()
    proretset = models.BooleanField()
    provolatile = models.TextField() # This field type is a guess.
    pronargs = models.SmallIntegerField()
    pronargdefaults = models.SmallIntegerField()
    prorettype = models.TextField() # This field type is a guess.
    proargtypes = models.TextField() # This field type is a guess.
    proallargtypes = models.TextField(blank=True) # This field type is a guess.
    proargmodes = models.TextField(blank=True) # This field type is a guess.
    proargnames = models.TextField(blank=True) # This field type is a guess.
    proargdefaults = models.TextField(blank=True) # This field type is a guess.
    prosrc = models.TextField(blank=True)
    probin = models.TextField(blank=True)
    proconfig = models.TextField(blank=True) # This field type is a guess.
    proacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_proc"'
        app_label='djangoproject'

#"PgCatalog"."PgRewrite" had 102 rows.
class PgCatalogPgRewrite(models.Model):
    using = 'oms'
    rulename = models.TextField(primary_key=True) # This field type is a guess.
    ev_class = models.TextField() # This field type is a guess.
    ev_attr = models.SmallIntegerField()
    ev_type = models.TextField() # This field type is a guess.
    ev_enabled = models.TextField() # This field type is a guess.
    is_instead = models.BooleanField()
    ev_qual = models.TextField(blank=True) # This field type is a guess.
    ev_action = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_rewrite"'
        app_label='djangoproject'

#"PgCatalog"."PgShdepend" had 717 rows.
class PgCatalogPgShdepend(models.Model):
    using = 'oms'
    dbid = models.TextField(primary_key=True) # This field type is a guess.
    classid = models.TextField() # This field type is a guess.
    objid = models.TextField() # This field type is a guess.
    objsubid = models.IntegerField()
    refclassid = models.TextField() # This field type is a guess.
    refobjid = models.TextField() # This field type is a guess.
    deptype = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_shdepend"'
        app_label='djangoproject'

#"PgCatalog"."PgShdescription" had 3 rows.
class PgCatalogPgShdescription(models.Model):
    using = 'oms'
    objoid = models.TextField(primary_key=True) # This field type is a guess.
    classoid = models.TextField() # This field type is a guess.
    description = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_shdescription"'
        app_label='djangoproject'

#"PgCatalog"."PgStatistic" had 3283 rows.
class PgCatalogPgStatistic(models.Model):
    using = 'oms'
    starelid = models.TextField(primary_key=True) # This field type is a guess.
    staattnum = models.SmallIntegerField()
    stainherit = models.BooleanField()
    stanullfrac = models.FloatField()
    stawidth = models.IntegerField()
    stadistinct = models.FloatField()
    stakind1 = models.SmallIntegerField()
    stakind2 = models.SmallIntegerField()
    stakind3 = models.SmallIntegerField()
    stakind4 = models.SmallIntegerField()
    staop1 = models.TextField() # This field type is a guess.
    staop2 = models.TextField() # This field type is a guess.
    staop3 = models.TextField() # This field type is a guess.
    staop4 = models.TextField() # This field type is a guess.
    stanumbers1 = models.TextField(blank=True) # This field type is a guess.
    stanumbers2 = models.TextField(blank=True) # This field type is a guess.
    stanumbers3 = models.TextField(blank=True) # This field type is a guess.
    stanumbers4 = models.TextField(blank=True) # This field type is a guess.
    stavalues1 = models.TextField(blank=True) # This field type is a guess.
    stavalues2 = models.TextField(blank=True) # This field type is a guess.
    stavalues3 = models.TextField(blank=True) # This field type is a guess.
    stavalues4 = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_statistic"'
        app_label='djangoproject'

#"PgCatalog"."PgTablespace" had 2 rows.
class PgCatalogPgTablespace(models.Model):
    using = 'oms'
    spcname = models.TextField(primary_key=True) # This field type is a guess.
    spcowner = models.TextField() # This field type is a guess.
    spclocation = models.TextField(blank=True)
    spcacl = models.TextField(blank=True) # This field type is a guess.
    spcoptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_tablespace"'
        app_label='djangoproject'

#"PgCatalog"."PgTsConfig" had 16 rows.
class PgCatalogPgTsConfig(models.Model):
    using = 'oms'
    cfgname = models.TextField(primary_key=True) # This field type is a guess.
    cfgnamespace = models.TextField() # This field type is a guess.
    cfgowner = models.TextField() # This field type is a guess.
    cfgparser = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_ts_config"'
        app_label='djangoproject'

#"PgCatalog"."PgTsConfigMap" had 304 rows.
class PgCatalogPgTsConfigMap(models.Model):
    using = 'oms'
    mapcfg = models.TextField(primary_key=True) # This field type is a guess.
    maptokentype = models.IntegerField()
    mapseqno = models.IntegerField()
    mapdict = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_ts_config_map"'
        app_label='djangoproject'

#"PgCatalog"."PgTsDict" had 16 rows.
class PgCatalogPgTsDict(models.Model):
    using = 'oms'
    dictname = models.TextField(primary_key=True) # This field type is a guess.
    dictnamespace = models.TextField() # This field type is a guess.
    dictowner = models.TextField() # This field type is a guess.
    dicttemplate = models.TextField() # This field type is a guess.
    dictinitoption = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_ts_dict"'
        app_label='djangoproject'

#"PgCatalog"."PgTsParser" had 1 rows.
class PgCatalogPgTsParser(models.Model):
    using = 'oms'
    prsname = models.TextField(primary_key=True) # This field type is a guess.
    prsnamespace = models.TextField() # This field type is a guess.
    prsstart = models.TextField() # This field type is a guess.
    prstoken = models.TextField() # This field type is a guess.
    prsend = models.TextField() # This field type is a guess.
    prsheadline = models.TextField() # This field type is a guess.
    prslextype = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_ts_parser"'
        app_label='djangoproject'

#"PgCatalog"."PgTsTemplate" had 5 rows.
class PgCatalogPgTsTemplate(models.Model):
    using = 'oms'
    tmplname = models.TextField(primary_key=True) # This field type is a guess.
    tmplnamespace = models.TextField() # This field type is a guess.
    tmplinit = models.TextField() # This field type is a guess.
    tmpllexize = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_ts_template"'
        app_label='djangoproject'

#"PgCatalog"."PgType" had 1726 rows.
class PgCatalogPgType(models.Model):
    using = 'oms'
    typname = models.TextField(primary_key=True) # This field type is a guess.
    typnamespace = models.TextField() # This field type is a guess.
    typowner = models.TextField() # This field type is a guess.
    typlen = models.SmallIntegerField()
    typbyval = models.BooleanField()
    typtype = models.TextField() # This field type is a guess.
    typcategory = models.TextField() # This field type is a guess.
    typispreferred = models.BooleanField()
    typisdefined = models.BooleanField()
    typdelim = models.TextField() # This field type is a guess.
    typrelid = models.TextField() # This field type is a guess.
    typelem = models.TextField() # This field type is a guess.
    typarray = models.TextField() # This field type is a guess.
    typinput = models.TextField() # This field type is a guess.
    typoutput = models.TextField() # This field type is a guess.
    typreceive = models.TextField() # This field type is a guess.
    typsend = models.TextField() # This field type is a guess.
    typmodin = models.TextField() # This field type is a guess.
    typmodout = models.TextField() # This field type is a guess.
    typanalyze = models.TextField() # This field type is a guess.
    typalign = models.TextField() # This field type is a guess.
    typstorage = models.TextField() # This field type is a guess.
    typnotnull = models.BooleanField()
    typbasetype = models.TextField() # This field type is a guess.
    typtypmod = models.IntegerField()
    typndims = models.IntegerField()
    typcollation = models.TextField() # This field type is a guess.
    typdefaultbin = models.TextField(blank=True) # This field type is a guess.
    typdefault = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_type"'
        app_label='djangoproject'

#"Public"."GeometryColumns" had 51 rows.
class PublicGeometryColumns(models.Model):
    using = 'oms'
    f_table_catalog = models.CharField(primary_key=True, max_length=256)
    f_table_schema = models.CharField(max_length=256)
    f_table_name = models.CharField(max_length=256)
    f_geometry_column = models.CharField(max_length=256)
    coord_dimension = models.IntegerField()
    srid = models.IntegerField()
    type = models.CharField(max_length=30)
    class Meta:
        db_table = '"public"."geometry_columns"'
        app_label='djangoproject'

#"Public"."SpatialRefSys" had 3750 rows.
class PublicSpatialRefSys(models.Model):
    using = 'oms'
    srid = models.IntegerField(primary_key=True)
    auth_name = models.CharField(max_length=256, blank=True)
    auth_srid = models.IntegerField(null=True, blank=True)
    srtext = models.CharField(max_length=2048, blank=True)
    proj4text = models.CharField(max_length=2048, blank=True)
    class Meta:
        db_table = '"public"."spatial_ref_sys"'
        app_label='djangoproject'

#"Wfm"."ActivityLog" had 20 rows.
class WfmActivityLog(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    activity = models.CharField(max_length=2, blank=True)
    username = models.CharField(max_length=16, blank=True)
    performed_on = models.DateTimeField(null=True, blank=True)
    target_type = models.CharField(max_length=1, blank=True)
    target_value = models.CharField(max_length=20, blank=True)
    entity_type = models.CharField(max_length=1, blank=True)
    entity_value = models.CharField(max_length=20, blank=True)
    entity_name = models.CharField(max_length=32, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    additional_info = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"wfm"."activity_log"'
        app_label='djangoproject'

#"Wfm"."ComFailuresLog" had 12 rows.
class WfmComFailuresLog(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    client_ip_address = models.CharField(max_length=16)
    first_failed_on = models.DateTimeField()
    restored_on = models.DateTimeField()
    num_failures = models.IntegerField()
    fail_data = models.TextField(blank=True)
    created = models.DateTimeField(null=True, blank=True)
    user_name = models.CharField(max_length=26, blank=True)
    browser = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"wfm"."com_failures_log"'
        app_label='djangoproject'

#"Wfm"."Config" had 1 rows.
class WfmConfig(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    next_so_number = models.IntegerField(null=True, blank=True)
    days_back_service_orders = models.IntegerField(null=True, blank=True)
    days_back_work_orders = models.IntegerField(null=True, blank=True)
    so_close_is_pending = models.NullBooleanField(null=True, blank=True)
    num_displayed_items_employee = models.IntegerField(null=True, blank=True)
    num_displayed_items_vehicle = models.IntegerField(null=True, blank=True)
    num_displayed_items_work_items = models.IntegerField(null=True, blank=True)
    dispatch_confirmation = models.NullBooleanField(null=True, blank=True)
    undispatch_confirmation = models.NullBooleanField(null=True, blank=True)
    assign_confirmation = models.NullBooleanField(null=True, blank=True)
    unassign_confirmation = models.NullBooleanField(null=True, blank=True)
    print_paper_size = models.CharField(max_length=6, blank=True)
    print_font = models.CharField(max_length=16, blank=True)
    print_font_size = models.CharField(max_length=6, blank=True)
    worksheet_business_name = models.CharField(max_length=64, blank=True)
    overdue_days_service_orders = models.IntegerField(null=True, blank=True)
    overdue_days_work_orders = models.IntegerField(null=True, blank=True)
    auto_dispatch_days = models.IntegerField(null=True, blank=True)
    auto_assign_so = models.NullBooleanField(null=True, blank=True)
    auto_dispatch_so = models.NullBooleanField(null=True, blank=True)
    vehicle_allowed_normal_close = models.NullBooleanField(null=True, blank=True)
    vehicle_allowed_oops_close = models.NullBooleanField(null=True, blank=True)
    show_sub_name = models.BooleanField()
    show_sub_number = models.BooleanField()
    show_fdr_name = models.BooleanField()
    show_fdr_number = models.BooleanField()
    next_wo_number = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."config"'
        app_label='djangoproject'

#"Wfm"."DispatchHistory" had 4 rows.
class WfmDispatchHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    work_type = models.CharField(max_length=1)
    work_item_number = models.CharField(max_length=16)
    dispatched_on = models.DateTimeField(null=True, blank=True)
    dispatched_by = models.CharField(max_length=32)
    service_index = models.CharField(max_length=32, blank=True)
    action_code = models.SmallIntegerField(null=True, blank=True)
    action_start_time = models.DateTimeField(null=True, blank=True)
    action_depart_time = models.DateTimeField(null=True, blank=True)
    action_arrive_time = models.DateTimeField(null=True, blank=True)
    action_end_time = models.DateTimeField(null=True, blank=True)
    action_end_status = models.SmallIntegerField(null=True, blank=True)
    disposition_code = models.CharField(max_length=16, blank=True)
    undispatch_by = models.CharField(max_length=32, blank=True)
    queue_position = models.IntegerField(null=True, blank=True)
    disp_entity_type = models.CharField(max_length=1, blank=True)
    disp_entity_number = models.CharField(max_length=16, blank=True)
    disp_entity_name = models.CharField(max_length=32, blank=True)
    disp_entity_contact = models.CharField(max_length=60, blank=True)
    district = models.CharField(max_length=32, blank=True)
    due_date = models.DateField(null=True, blank=True)
    work_item_location = models.CharField(max_length=-1, blank=True)
    account_number = models.CharField(max_length=16, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    so_type = models.CharField(max_length=16, blank=True)
    so_code = models.CharField(max_length=4, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."dispatch_history"'
        app_label='djangoproject'

#"Wfm"."Dispatched" had 12 rows.
class WfmDispatched(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    work_type = models.CharField(max_length=1)
    work_item_number = models.CharField(max_length=16)
    work_item_location = models.CharField(max_length=-1, blank=True)
    dispatched_on = models.DateTimeField(null=True, blank=True)
    dispatched_by = models.CharField(max_length=32)
    work_start = models.DateField(null=True, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    sequence = models.IntegerField(null=True, blank=True)
    action_code = models.SmallIntegerField(null=True, blank=True)
    action_start_time = models.DateTimeField(null=True, blank=True)
    action_depart_time = models.DateTimeField(null=True, blank=True)
    action_arrive_time = models.DateTimeField(null=True, blank=True)
    action_end_time = models.DateTimeField(null=True, blank=True)
    action_end_status = models.SmallIntegerField(null=True, blank=True)
    queue_position = models.IntegerField(null=True, blank=True)
    updated = models.NullBooleanField(null=True, blank=True)
    deleted = models.NullBooleanField(null=True, blank=True)
    disp_entity_type = models.CharField(max_length=1)
    disp_entity_number = models.CharField(max_length=16)
    disp_entity_name = models.CharField(max_length=32, blank=True)
    disp_entity_contact = models.CharField(max_length=60, blank=True)
    due_date = models.DateField(null=True, blank=True)
    due_time = models.TimeField(null=True, blank=True)
    district = models.CharField(max_length=32, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    account_number = models.CharField(max_length=16, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    so_type = models.CharField(max_length=16, blank=True)
    so_code = models.CharField(max_length=4, blank=True)
    undispatch_by = models.CharField(max_length=32, blank=True)
    undispatched_at = models.DateTimeField(null=True, blank=True)
    undispatched_reason = models.CharField(max_length=1, blank=True)
    status = models.CharField(max_length=32, blank=True)
    last_updated = models.DateTimeField(null=True, blank=True)
    auto_dispatch_date = models.DateField(null=True, blank=True)
    scheduled_time = models.DateTimeField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"wfm"."dispatched"'
        app_label='djangoproject'

#"Wfm"."DispatchedItems" had 9 rows.
class WfmDispatchedItems(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    geodata = models.GeometryField(null=True, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    account_number = models.CharField(max_length=16, blank=True)
    item_type = models.CharField(max_length=1, blank=True)
    item_number = models.CharField(max_length=-1, blank=True)
    num_dispatches = models.IntegerField(null=True, blank=True)
    last_updated = models.DateTimeField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"wfm"."dispatched_items"'
        app_label='djangoproject'

#"Wfm"."OrderCode" had 20 rows.
class WfmOrderCode(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    code = models.CharField(max_length=4, blank=True)
    worksheet_template_filename = models.CharField(max_length=64, blank=True)
    description = models.CharField(max_length=48, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    title = models.CharField(max_length=64, blank=True)
    found_in_external_system = models.NullBooleanField(null=True, blank=True)
    dispatchable = models.NullBooleanField(null=True, blank=True)
    dispatch_offset = models.IntegerField(null=True, blank=True)
    overdue_offset = models.IntegerField(null=True, blank=True)
    gl_code = models.CharField(max_length=16, blank=True)
    activity_code = models.CharField(max_length=16, blank=True)
    do_not_load = models.NullBooleanField(null=True, blank=True)
    auto_assign_area_recordid = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."order_code"'
        app_label='djangoproject'

#"Wfm"."TimeClassification" had 10 rows.
class WfmTimeClassification(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    active = models.NullBooleanField(null=True, blank=True)
    class_name = models.CharField(max_length=32, blank=True)
    class_description = models.CharField(max_length=64, blank=True)
    class Meta:
        db_table = '"wfm"."time_classification"'
        app_label='djangoproject'

#"Wfm"."UserSettings" had 4 rows.
class WfmUserSettings(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    userid = models.CharField(max_length=16)
    name = models.CharField(max_length=32, blank=True)
    setting_type = models.CharField(max_length=16, blank=True)
    target_value = models.CharField(max_length=48, blank=True)
    data_value = models.CharField(max_length=-1, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    last_modified = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."user_settings"'
        app_label='djangoproject'

#"Wfm"."Weights" had 3 rows.
class WfmWeights(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    work_type = models.CharField(max_length=1, blank=True)
    work_subtype = models.CharField(max_length=4, blank=True)
    weight = models.DecimalField(null=True, max_digits=4, decimal_places=1, blank=True)
    description = models.CharField(max_length=32, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."weights"'
        app_label='djangoproject'

#******************************************************
#******************************************************
#******************************************************
#Entries Below this point had 0 rows at the time the models file was created.

#******************************************************
#******************************************************
#******************************************************

#"Avl"."VehicleSignalLocation" had 0 rows.
class AvlVehicleSignalLocation(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    latitude = models.FloatField(null=True, blank=True)
    longitude = models.FloatField(null=True, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    carrier = models.CharField(max_length=-1, blank=True)
    timestamp = models.CharField(max_length=-1, blank=True)
    gos_id = models.IntegerField()
    objects = models.GeoManager()
    class Meta:
        db_table = '"avl"."vehicle_signal_location"'
        app_label='djangoproject'

#"Config"."CisgismergeSql" had 0 rows.
class ConfigCisgismergeSql(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    process_order = models.IntegerField(null=True, blank=True)
    sql_statement = models.TextField(blank=True)
    class Meta:
        db_table = '"config"."cisgismerge_sql"'
        app_label='djangoproject'

#"Config"."FileTasks" had 0 rows.
class ConfigFileTasks(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    description = models.CharField(max_length=-1, blank=True)
    path = models.CharField(max_length=-1, blank=True)
    machine = models.CharField(max_length=-1, blank=True)
    condition = models.CharField(max_length=-1, blank=True)
    condition_param = models.CharField(max_length=-1, blank=True)
    step_1 = models.CharField(max_length=-1, blank=True)
    step_1_param = models.CharField(max_length=-1, blank=True)
    step_2 = models.CharField(max_length=-1, blank=True)
    step_2_param = models.CharField(max_length=-1, blank=True)
    step_3 = models.CharField(max_length=-1, blank=True)
    step_3_param = models.CharField(max_length=-1, blank=True)
    current_step = models.IntegerField(null=True, blank=True)
    last_executed = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"config"."file_tasks"'
        app_label='djangoproject'

#"Config"."RpcAuth" had 0 rows.
class ConfigRpcAuth(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    userid = models.CharField(max_length=32, blank=True)
    password = models.CharField(max_length=32, blank=True)
    description = models.CharField(max_length=64, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"config"."rpc_auth"'
        app_label='djangoproject'

#"ConfigGis"."ConnModsIms" had 0 rows.
class ConfigGisConnModsIms(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    command = models.CharField(max_length=-1)
    processing_order = models.IntegerField()
    class Meta:
        db_table = '"config_gis"."conn_mods_ims"'
        app_label='djangoproject'

#"ConfigGis"."DataSources" had 0 rows.
class ConfigGisDataSources(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=-1)
    source_type = models.CharField(max_length=-1)
    filepath = models.CharField(max_length=-1, blank=True)
    filename = models.CharField(max_length=-1, blank=True)
    only_landbase = models.NullBooleanField(null=True, blank=True)
    source_epsg = models.CharField(max_length=-1, blank=True)
    geometry_column = models.CharField(max_length=-1)
    unique_column = models.CharField(max_length=-1, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    abde_xoff_yoff = models.CharField(max_length=-1, blank=True)
    is_wildcard = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."data_sources"'
        app_label='djangoproject'

#"ConfigGis"."Gos2EaConvColumns" had 0 rows.
class ConfigGisGos2EaConvColumns(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    conversion_record_id = models.IntegerField(null=True, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    column_ea = models.CharField(max_length=-1, blank=True)
    column_gis = models.CharField(max_length=-1, blank=True)
    column_gos = models.CharField(max_length=-1, blank=True)
    use_phases = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"config_gis"."gos2ea_conv_columns"'
        app_label='djangoproject'

#"ConfigGis"."Gos2EaConversion" had 0 rows.
class ConfigGisGos2EaConversion(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    ea_tablename = models.CharField(max_length=-1, blank=True)
    gos_tablename = models.CharField(max_length=-1, blank=True)
    where_clause = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"config_gis"."gos2ea_conversion"'
        app_label='djangoproject'

#"ConsumerBuild2"."Customer" had 0 rows.
class ConsumerBuild2Customer(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    accountnumber = models.CharField(max_length=-1)
    subaccount = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    meternumber = models.CharField(max_length=-1, blank=True)
    lastname = models.CharField(max_length=-1, blank=True)
    firstname = models.CharField(max_length=-1, blank=True)
    address1 = models.CharField(max_length=-1, blank=True)
    address2 = models.CharField(max_length=-1, blank=True)
    city = models.CharField(max_length=-1, blank=True)
    state = models.CharField(max_length=2, blank=True)
    zipcode = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    altphone = models.CharField(max_length=-1, blank=True)
    billing_rate = models.CharField(max_length=-1, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    maplocation = models.CharField(max_length=-1, blank=True)
    phasesused = models.IntegerField(null=True, blank=True)
    linesection = models.CharField(max_length=-1, blank=True)
    substationnumber = models.IntegerField(null=True, blank=True)
    feedernumber = models.IntegerField(null=True, blank=True)
    disconnectdate = models.DateField(null=True, blank=True)
    transformer = models.CharField(max_length=-1, blank=True)
    tap = models.CharField(max_length=-1, blank=True)
    pole = models.CharField(max_length=-1, blank=True)
    servicelocation = models.CharField(max_length=-1, blank=True)
    servicestreetno = models.CharField(max_length=-1, blank=True)
    ssn = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=2, blank=True)
    accountstreet = models.CharField(max_length=-1, blank=True)
    phonestreet = models.CharField(max_length=-1, blank=True)
    emailaddress = models.CharField(max_length=-1, blank=True)
    updateddatetime = models.DateTimeField()
    svcstreetname = models.CharField(max_length=-1, blank=True)
    svcstreetnumber = models.CharField(max_length=-1, blank=True)
    svcstreetref = models.CharField(max_length=-1, blank=True)
    amrnumber = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"consumer_build2"."customer"'
        app_label='djangoproject'

#"ConsumerBuild2"."CustomerContact" had 0 rows.
class ConsumerBuild2CustomerContact(models.Model):
    using = 'oms'
    ogc_fid = models.IntegerField(primary_key=True)
    account_number = models.CharField(max_length=-1)
    service_index = models.IntegerField(null=True, blank=True)
    contact_info = models.CharField(max_length=-1, blank=True)
    contact_type = models.CharField(max_length=-1, blank=True)
    contact_id = models.CharField(max_length=-1, blank=True)
    priority = models.IntegerField()
    class Meta:
        db_table = '"consumer_build2"."customer_contact"'
        app_label='djangoproject'

#"Core"."CustContacts" had 0 rows.
class CoreCustContacts(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    account_number = models.CharField(max_length=16, blank=True)
    cust_name = models.CharField(max_length=32, blank=True)
    contact_number = models.CharField(max_length=16)
    contact_type = models.CharField(max_length=1, blank=True)
    contact_string = models.CharField(max_length=-1)
    contact_method = models.CharField(max_length=1, blank=True)
    contact_location = models.CharField(max_length=16, blank=True)
    method_param = models.CharField(max_length=64, blank=True)
    contact_order = models.IntegerField(null=True, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    notes = models.CharField(max_length=50, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."cust_contacts"'
        app_label='djangoproject'

#"Core"."EmailSmsCarrier" had 0 rows.
class CoreEmailSmsCarrier(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    carriername = models.CharField(max_length=45)
    addrsuffix = models.CharField(max_length=80)
    maxmessagelength = models.IntegerField()
    obsolete = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"core"."email_sms_carrier"'
        app_label='djangoproject'

#"Core"."EmployeeCalloutHistory" had 0 rows.
class CoreEmployeeCalloutHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    j_record_id = models.IntegerField()
    emp_name = models.CharField(max_length=45, blank=True)
    phone_number = models.CharField(max_length=15)
    state = models.CharField(max_length=45, blank=True)
    callout_id = models.IntegerField(null=True, blank=True)
    finish_time = models.DateTimeField(null=True, blank=True)
    call_attempts = models.IntegerField(null=True, blank=True)
    abort_reason = models.CharField(max_length=100, blank=True)
    keys_pressed = models.CharField(max_length=45, blank=True)
    coming_in = models.IntegerField(null=True, blank=True)
    emp_record_id = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_callout_history"'
        app_label='djangoproject'

#"Core"."EmployeeCalloutJobs" had 0 rows.
class CoreEmployeeCalloutJobs(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    description = models.CharField(max_length=250, blank=True)
    state = models.CharField(max_length=45, blank=True)
    create_user = models.CharField(max_length=45, blank=True)
    abort_user = models.CharField(max_length=45, blank=True)
    finish_time = models.DateTimeField(null=True, blank=True)
    start_time = models.DateTimeField(null=True, blank=True)
    last_allowed_call_time = models.DateTimeField()
    cleared = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_callout_jobs"'
        app_label='djangoproject'

#"Core"."EmployeeCalloutJobsHistory" had 0 rows.
class CoreEmployeeCalloutJobsHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    j_record_id = models.IntegerField(null=True, blank=True)
    description = models.CharField(max_length=250, blank=True)
    state = models.CharField(max_length=45, blank=True)
    create_user = models.CharField(max_length=45, blank=True)
    abort_user = models.CharField(max_length=45, blank=True)
    finish_time = models.DateTimeField(null=True, blank=True)
    start_time = models.DateTimeField(null=True, blank=True)
    last_allowed_call_time = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_callout_jobs_history"'
        app_label='djangoproject'

#"Core"."EmployeeCalloutQueue" had 0 rows.
class CoreEmployeeCalloutQueue(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    j_record_id = models.IntegerField()
    emp_record_id = models.IntegerField()
    emp_name = models.CharField(max_length=45, blank=True)
    phone_number = models.CharField(max_length=15)
    state = models.CharField(max_length=45, blank=True)
    callout_id = models.IntegerField(null=True, blank=True)
    last_attempt_time = models.DateTimeField(null=True, blank=True)
    next_attempt_time = models.DateTimeField(null=True, blank=True)
    finish_time = models.DateTimeField(null=True, blank=True)
    call_attempts = models.IntegerField(null=True, blank=True)
    abort_reason = models.CharField(max_length=100, blank=True)
    keys_pressed = models.CharField(max_length=45, blank=True)
    coming_in = models.IntegerField(null=True, blank=True)
    communication_status = models.CharField(max_length=45, blank=True)
    class Meta:
        db_table = '"core"."employee_callout_queue"'
        app_label='djangoproject'

#"Core"."EmployeeTitles" had 0 rows.
class CoreEmployeeTitles(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    title = models.CharField(max_length=32, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    notes = models.CharField(max_length=-1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."employee_titles"'
        app_label='djangoproject'

#"Core"."MysqlReplication" had 0 rows.
class CoreMysqlReplication(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    created = models.DateTimeField()
    command = models.TextField()
    processed = models.DateTimeField(null=True, blank=True)
    result = models.IntegerField(null=True, blank=True)
    error = models.TextField(blank=True)
    class Meta:
        db_table = '"core"."mysql_replication"'
        app_label='djangoproject'

#"Core"."NotificationThresholds" had 0 rows.
class CoreNotificationThresholds(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    stat_name = models.CharField(max_length=-1)
    service_index = models.IntegerField()
    district_number = models.IntegerField()
    enabled = models.BooleanField()
    above_threshold = models.IntegerField()
    below_threshold = models.IntegerField()
    current_state = models.CharField(max_length=-1, blank=True)
    action = models.IntegerField()
    employee_number = models.CharField(max_length=-1)
    entered_by = models.CharField(max_length=-1)
    entered_date = models.DateTimeField(null=True, blank=True)
    last_processed = models.DateTimeField(null=True, blank=True)
    error = models.CharField(max_length=-1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."notification_thresholds"'
        app_label='djangoproject'

#"Core"."OldNotifyKeyaccountDefinition" had 0 rows.
class CoreOldNotifyKeyaccountDefinition(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    key_account_id = models.IntegerField()
    key_account_description = models.CharField(max_length=-1)
    employee_number = models.CharField(max_length=16, blank=True)
    notify_by = models.IntegerField()
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."old_notify_keyaccount_definition"'
        app_label='djangoproject'

#"Core"."OldNotifyKeyaccountMember" had 0 rows.
class CoreOldNotifyKeyaccountMember(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    key_account_id = models.IntegerField()
    service_index = models.IntegerField()
    account_index = models.CharField(max_length=-1)
    account_alias = models.CharField(max_length=-1)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."old_notify_keyaccount_member"'
        app_label='djangoproject'

#"Core"."ServiceArea" had 0 rows.
class CoreServiceArea(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=32, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    description = models.CharField(max_length=50, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    checked = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"core"."service_area"'
        app_label='djangoproject'

#"Core"."VehicleMaintenance" had 0 rows.
class CoreVehicleMaintenance(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    vehicle_number = models.CharField(max_length=16)
    entry_type = models.CharField(max_length=2)
    other_description = models.CharField(max_length=255, blank=True)
    entry_time = models.DateTimeField(null=True, blank=True)
    odometer_reading = models.IntegerField(null=True, blank=True)
    cost = models.TextField(blank=True) # This field type is a guess.
    param = models.CharField(max_length=32, blank=True)
    notes = models.CharField(max_length=-1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"core"."vehicle_maintenance"'
        app_label='djangoproject'

#"DvAmi"."AmiResponseHistory" had 0 rows.
class DvAmiAmiResponseHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    jobno = models.CharField(max_length=-1, blank=True)
    meter = models.CharField(max_length=-1, blank=True)
    amrnbr = models.CharField(max_length=-1, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    linesect = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    maploc = models.CharField(max_length=-1, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    serviceloc = models.CharField(max_length=-1, blank=True)
    resp_type = models.IntegerField(null=True, blank=True)
    resp_desc = models.CharField(max_length=-1, blank=True)
    transform = models.CharField(max_length=-1, blank=True)
    tctdata1 = models.BigIntegerField(null=True, blank=True)
    voltfluct = models.FloatField(null=True, blank=True)
    memtype = models.IntegerField(null=True, blank=True)
    memaddr = models.IntegerField(null=True, blank=True)
    job_type = models.IntegerField(null=True, blank=True)
    begin_time = models.DateTimeField(null=True, blank=True)
    end_time = models.DateTimeField(null=True, blank=True)
    sn_compath = models.CharField(max_length=-1, blank=True)
    acctno = models.CharField(max_length=-1, blank=True)
    groupid = models.IntegerField(null=True, blank=True)
    numattempts = models.IntegerField(null=True, blank=True)
    maxattempts = models.IntegerField(null=True, blank=True)
    ami_response = models.CharField(max_length=-1, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"dv_ami"."ami_response_history"'
        app_label='djangoproject'

#"DvAmi"."MeterBuildInfo" had 0 rows.
class DvAmiMeterBuildInfo(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    manual_build_first_step = models.IntegerField()
    manual_build_last_step = models.IntegerField()
    manual_get_outaged_first_step = models.IntegerField()
    manual_get_outaged_last_step = models.IntegerField()
    last_communication_from_amr = models.DateTimeField(null=True, blank=True)
    manual_build_result = models.CharField(max_length=-1, blank=True)
    manual_get_outaged_result = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"dv_ami"."meter_build_info"'
        app_label='djangoproject'

#"DvAmi"."MtrFlippedhistory" had 0 rows.
class DvAmiMtrFlippedhistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    meter = models.CharField(max_length=20, blank=True)
    time = models.DateTimeField()
    newstate = models.CharField(max_length=20, blank=True)
    class Meta:
        db_table = '"dv_ami"."mtr_flippedhistory"'
        app_label='djangoproject'

#"DvAmi"."MtrJobreq" had 0 rows.
class DvAmiMtrJobreq(models.Model):
    using = 'oms'
    jobno = models.IntegerField(primary_key=True)
    starttime = models.DateTimeField()
    donetime = models.DateTimeField(null=True, blank=True)
    jtype = models.SmallIntegerField(null=True, blank=True)
    jstatus = models.SmallIntegerField(null=True, blank=True)
    resp_on = models.SmallIntegerField(null=True, blank=True)
    resp_off = models.SmallIntegerField(null=True, blank=True)
    resp_com = models.SmallIntegerField(null=True, blank=True)
    resp_volts = models.SmallIntegerField(null=True, blank=True)
    resp_invld = models.SmallIntegerField(null=True, blank=True)
    jtotalrcds = models.SmallIntegerField(null=True, blank=True)
    jreqby = models.CharField(max_length=20, blank=True)
    jobdesc = models.CharField(max_length=50, blank=True)
    jlinesect = models.CharField(max_length=20, blank=True)
    jmeter = models.CharField(max_length=20, blank=True)
    jscope = models.IntegerField(null=True, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    schedjob = models.IntegerField(null=True, blank=True)
    maxattempts = models.IntegerField(null=True, blank=True)
    overlimit = models.SmallIntegerField(null=True, blank=True)
    class Meta:
        db_table = '"dv_ami"."mtr_jobreq"'
        app_label='djangoproject'

#"DvAmi"."MtrReqresp" had 0 rows.
class DvAmiMtrReqresp(models.Model):
    using = 'oms'
    meter = models.CharField(primary_key=True, max_length=20)
    amrnbr = models.CharField(max_length=20)
    substation = models.SmallIntegerField(null=True, blank=True)
    feeder = models.SmallIntegerField(null=True, blank=True)
    linesect = models.CharField(max_length=20, blank=True)
    phase = models.SmallIntegerField(null=True, blank=True)
    maploc = models.CharField(max_length=20, blank=True)
    name = models.CharField(max_length=30, blank=True)
    serviceloc = models.CharField(max_length=50, blank=True)
    resp_type = models.SmallIntegerField(null=True, blank=True)
    resp_desc = models.CharField(max_length=50, blank=True)
    transform = models.CharField(max_length=20, blank=True)
    tctdata1 = models.BigIntegerField(null=True, blank=True)
    voltfluct = models.FloatField(null=True, blank=True)
    memtype = models.SmallIntegerField(null=True, blank=True)
    memaddr = models.SmallIntegerField(null=True, blank=True)
    job_type = models.SmallIntegerField(null=True, blank=True)
    comptime = models.DateTimeField(null=True, blank=True)
    sn_compath = models.CharField(max_length=50, blank=True)
    acctno = models.CharField(max_length=20)
    recordid = models.IntegerField()
    groupid = models.IntegerField(null=True, blank=True)
    numattempts = models.IntegerField()
    maxattempts = models.IntegerField()
    jobno = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"dv_ami"."mtr_reqresp"'
        app_label='djangoproject'

#"DvAmi"."MtrSchedule" had 0 rows.
class DvAmiMtrSchedule(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    groupinfo = models.CharField(max_length=45, blank=True)
    meter = models.CharField(max_length=20, blank=True)
    linesection = models.CharField(max_length=20, blank=True)
    scope = models.IntegerField()
    type = models.IntegerField()
    starttime = models.DateTimeField()
    nextscheduledtime = models.DateTimeField()
    stoptime = models.DateTimeField(null=True, blank=True)
    frequency = models.IntegerField(null=True, blank=True)
    days = models.CharField(max_length=7, blank=True)
    description = models.CharField(max_length=45, blank=True)
    status = models.IntegerField()
    requestedby = models.CharField(max_length=20, blank=True)
    requestedtime = models.DateTimeField()
    class Meta:
        db_table = '"dv_ami"."mtr_schedule"'
        app_label='djangoproject'

#"Email"."Emailhistory" had 0 rows.
class EmailEmailhistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    sendondatetime = models.DateTimeField(null=True, blank=True)
    sentondatetime = models.DateTimeField(null=True, blank=True)
    requestedby = models.CharField(max_length=-1, blank=True)
    fromaddr = models.CharField(max_length=-1, blank=True)
    toaddr = models.CharField(max_length=-1, blank=True)
    ccaddr = models.CharField(max_length=-1, blank=True)
    bccaddr = models.CharField(max_length=-1, blank=True)
    subject = models.CharField(max_length=-1, blank=True)
    htmltemplatefile = models.CharField(max_length=-1, blank=True)
    messagetext = models.CharField(max_length=-1, blank=True)
    htmltags = models.CharField(max_length=-1, blank=True)
    texttemplatefile = models.CharField(max_length=-1, blank=True)
    attachments = models.CharField(max_length=-1, blank=True)
    rtnmessage = models.CharField(max_length=-1, blank=True)
    htmlscript = models.CharField(max_length=-1, blank=True)
    smsflag = models.IntegerField(null=True, blank=True)
    messagetype = models.CharField(max_length=-1, blank=True)
    cisupdated = models.IntegerField(null=True, blank=True)
    class Meta:
        db_table = '"email"."emailhistory"'
        app_label='djangoproject'

#"GisBackup"."Coopgiscity" had 0 rows.
class GisBackupCoopgiscity(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_backup"."coopgiscity"'
        app_label='djangoproject'

#"GisBackup"."DvCorrections" had 0 rows.
class GisBackupDvCorrections(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    exception_type = models.CharField(max_length=-1, blank=True)
    tablename = models.CharField(max_length=-1, blank=True)
    unique_id = models.IntegerField()
    severity = models.IntegerField(null=True, blank=True)
    verified_by = models.CharField(max_length=-1, blank=True)
    verified_date = models.CharField(max_length=-1, blank=True)
    assigned_to = models.CharField(max_length=-1, blank=True)
    assigned_date = models.CharField(max_length=-1, blank=True)
    corrected_by = models.CharField(max_length=-1, blank=True)
    corrected_date = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"gis_backup"."dv_corrections"'
        app_label='djangoproject'

#"GisBuild"."Coopgiscity" had 0 rows.
class GisBuildCoopgiscity(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_build"."coopgiscity"'
        app_label='djangoproject'

#"GisBuild"."DvCorrections" had 0 rows.
class GisBuildDvCorrections(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    exception_type = models.CharField(max_length=-1, blank=True)
    tablename = models.CharField(max_length=-1, blank=True)
    unique_id = models.IntegerField()
    severity = models.IntegerField(null=True, blank=True)
    verified_by = models.CharField(max_length=-1, blank=True)
    verified_date = models.CharField(max_length=-1, blank=True)
    assigned_to = models.CharField(max_length=-1, blank=True)
    assigned_date = models.CharField(max_length=-1, blank=True)
    corrected_by = models.CharField(max_length=-1, blank=True)
    corrected_date = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"gis_build"."dv_corrections"'
        app_label='djangoproject'

#"GisProduction"."Coopgiscity" had 0 rows.
class GisProductionCoopgiscity(models.Model):
    using = 'oms'
    id = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=250, db_column='Name', blank=True) # Field name made lowercase.
    description = models.TextField(db_column='Description', blank=True) # Field name made lowercase.
    the_geom = models.GeometryField(null=True, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gis_production"."coopgiscity"'
        app_label='djangoproject'

#"GisProduction"."DvCorrections" had 0 rows.
class GisProductionDvCorrections(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    exception_type = models.CharField(max_length=-1, blank=True)
    tablename = models.CharField(max_length=-1, blank=True)
    unique_id = models.IntegerField()
    severity = models.IntegerField(null=True, blank=True)
    verified_by = models.CharField(max_length=-1, blank=True)
    verified_date = models.CharField(max_length=-1, blank=True)
    assigned_to = models.CharField(max_length=-1, blank=True)
    assigned_date = models.CharField(max_length=-1, blank=True)
    corrected_by = models.CharField(max_length=-1, blank=True)
    corrected_date = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"gis_production"."dv_corrections"'
        app_label='djangoproject'

#"GosBackup"."Annotations" had 0 rows.
class GosBackupAnnotations(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."annotations"'
        app_label='djangoproject'

#"GosBackup"."Buildings" had 0 rows.
class GosBackupBuildings(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."buildings"'
        app_label='djangoproject'

#"GosBackup"."Cities" had 0 rows.
class GosBackupCities(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."cities"'
        app_label='djangoproject'

#"GosBackup"."Devices" had 0 rows.
class GosBackupDevices(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."devices"'
        app_label='djangoproject'

#"GosBackup"."DvCorrections" had 0 rows.
class GosBackupDvCorrections(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    exception_type = models.CharField(max_length=-1, blank=True)
    tablename = models.CharField(max_length=-1, blank=True)
    unique_id = models.IntegerField()
    severity = models.IntegerField(null=True, blank=True)
    verified_by = models.CharField(max_length=-1, blank=True)
    verified_date = models.CharField(max_length=-1, blank=True)
    assigned_to = models.CharField(max_length=-1, blank=True)
    assigned_date = models.CharField(max_length=-1, blank=True)
    corrected_by = models.CharField(max_length=-1, blank=True)
    corrected_date = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"gos_backup"."dv_corrections"'
        app_label='djangoproject'

#"GosBackup"."LandbaseLine" had 0 rows.
class GosBackupLandbaseLine(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    line_type = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."landbase_line"'
        app_label='djangoproject'

#"GosBackup"."Lotlines" had 0 rows.
class GosBackupLotlines(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."lotlines"'
        app_label='djangoproject'

#"GosBackup"."Lotnos" had 0 rows.
class GosBackupLotnos(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    lotnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."lotnos"'
        app_label='djangoproject'

#"GosBackup"."OpSl" had 0 rows.
class GosBackupOpSl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."op_sl"'
        app_label='djangoproject'

#"GosBackup"."Parcels" had 0 rows.
class GosBackupParcels(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    parcelno = models.CharField(max_length=-1, blank=True)
    parceldesc = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."parcels"'
        app_label='djangoproject'

#"GosBackup"."Rivers" had 0 rows.
class GosBackupRivers(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."rivers"'
        app_label='djangoproject'

#"GosBackup"."Subboundary" had 0 rows.
class GosBackupSubboundary(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."subboundary"'
        app_label='djangoproject'

#"GosBackup"."Transmission" had 0 rows.
class GosBackupTransmission(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_backup"."transmission"'
        app_label='djangoproject'

#"GosBuild"."Annotations" had 0 rows.
class GosBuildAnnotations(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."annotations"'
        app_label='djangoproject'

#"GosBuild"."Buildings" had 0 rows.
class GosBuildBuildings(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."buildings"'
        app_label='djangoproject'

#"GosBuild"."Cities" had 0 rows.
class GosBuildCities(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."cities"'
        app_label='djangoproject'

#"GosBuild"."Consumer" had 0 rows.
class GosBuildConsumer(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    acctno = models.CharField(max_length=-1)
    mtr_status = models.IntegerField(null=True, blank=True)
    volt_fluct = models.DecimalField(null=True, max_digits=8, decimal_places=3, blank=True)
    keyacct = models.IntegerField(null=True, blank=True)
    priority = models.CharField(max_length=-1, blank=True)
    incidentid = models.CharField(max_length=-1, blank=True)
    srvloc = models.CharField(max_length=-1, blank=True)
    county = models.CharField(max_length=-1, blank=True)
    phone = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."consumer"'
        app_label='djangoproject'

#"GosBuild"."Devices" had 0 rows.
class GosBuildDevices(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."devices"'
        app_label='djangoproject'

#"GosBuild"."DvCorrections" had 0 rows.
class GosBuildDvCorrections(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    exception_type = models.CharField(max_length=-1, blank=True)
    tablename = models.CharField(max_length=-1, blank=True)
    unique_id = models.IntegerField()
    severity = models.IntegerField(null=True, blank=True)
    verified_by = models.CharField(max_length=-1, blank=True)
    verified_date = models.CharField(max_length=-1, blank=True)
    assigned_to = models.CharField(max_length=-1, blank=True)
    assigned_date = models.CharField(max_length=-1, blank=True)
    corrected_by = models.CharField(max_length=-1, blank=True)
    corrected_date = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"gos_build"."dv_corrections"'
        app_label='djangoproject'

#"GosBuild"."Gosxreftable" had 0 rows.
class GosBuildGosxreftable(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    gos_id = models.DecimalField(null=True, max_digits=65535, decimal_places=65535, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    gostablename = models.CharField(max_length=-1, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    orig_substation = models.IntegerField(null=True, blank=True)
    orig_feeder = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."gosxreftable"'
        app_label='djangoproject'

#"GosBuild"."LandbaseLine" had 0 rows.
class GosBuildLandbaseLine(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    line_type = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."landbase_line"'
        app_label='djangoproject'

#"GosBuild"."Lotlines" had 0 rows.
class GosBuildLotlines(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."lotlines"'
        app_label='djangoproject'

#"GosBuild"."Lotnos" had 0 rows.
class GosBuildLotnos(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    lotnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."lotnos"'
        app_label='djangoproject'

#"GosBuild"."OpSl" had 0 rows.
class GosBuildOpSl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."op_sl"'
        app_label='djangoproject'

#"GosBuild"."Parcels" had 0 rows.
class GosBuildParcels(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    parcelno = models.CharField(max_length=-1, blank=True)
    parceldesc = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."parcels"'
        app_label='djangoproject'

#"GosBuild"."Rivers" had 0 rows.
class GosBuildRivers(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."rivers"'
        app_label='djangoproject'

#"GosBuild"."Subboundary" had 0 rows.
class GosBuildSubboundary(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."subboundary"'
        app_label='djangoproject'

#"GosBuild"."Transmission" had 0 rows.
class GosBuildTransmission(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_build"."transmission"'
        app_label='djangoproject'

#"GosProduction"."Annotations" had 0 rows.
class GosProductionAnnotations(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."annotations"'
        app_label='djangoproject'

#"GosProduction"."Buildings" had 0 rows.
class GosProductionBuildings(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."buildings"'
        app_label='djangoproject'

#"GosProduction"."Cities" had 0 rows.
class GosProductionCities(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."cities"'
        app_label='djangoproject'

#"GosProduction"."Devices" had 0 rows.
class GosProductionDevices(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."devices"'
        app_label='djangoproject'

#"GosProduction"."DvCorrections" had 0 rows.
class GosProductionDvCorrections(models.Model):
    using = 'oms'
    rec_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    exception_type = models.CharField(max_length=-1, blank=True)
    tablename = models.CharField(max_length=-1, blank=True)
    unique_id = models.IntegerField()
    severity = models.IntegerField(null=True, blank=True)
    verified_by = models.CharField(max_length=-1, blank=True)
    verified_date = models.CharField(max_length=-1, blank=True)
    assigned_to = models.CharField(max_length=-1, blank=True)
    assigned_date = models.CharField(max_length=-1, blank=True)
    corrected_by = models.CharField(max_length=-1, blank=True)
    corrected_date = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"gos_production"."dv_corrections"'
        app_label='djangoproject'

#"GosProduction"."LandbaseLine" had 0 rows.
class GosProductionLandbaseLine(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    line_type = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."landbase_line"'
        app_label='djangoproject'

#"GosProduction"."Lotlines" had 0 rows.
class GosProductionLotlines(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."lotlines"'
        app_label='djangoproject'

#"GosProduction"."Lotnos" had 0 rows.
class GosProductionLotnos(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    lotnumber = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."lotnos"'
        app_label='djangoproject'

#"GosProduction"."OpSl" had 0 rows.
class GosProductionOpSl(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PointField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."op_sl"'
        app_label='djangoproject'

#"GosProduction"."Parcels" had 0 rows.
class GosProductionParcels(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    parcelno = models.CharField(max_length=-1, blank=True)
    parceldesc = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."parcels"'
        app_label='djangoproject'

#"GosProduction"."Rivers" had 0 rows.
class GosProductionRivers(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."rivers"'
        app_label='djangoproject'

#"GosProduction"."Subboundary" had 0 rows.
class GosProductionSubboundary(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.PolygonField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    serviceindex = models.IntegerField(null=True, blank=True)
    parent_enetworkid = models.CharField(max_length=-1, blank=True)
    orig_parent = models.CharField(max_length=-1, blank=True)
    phase = models.CharField(max_length=-1, blank=True)
    phase_fixed = models.NullBooleanField(null=True, blank=True)
    phase_error = models.CharField(max_length=-1, blank=True)
    conflict_elements = models.CharField(max_length=-1, blank=True)
    dvincluded = models.IntegerField(null=True, blank=True)
    bank_gos_id = models.IntegerField(null=True, blank=True)
    underground = models.IntegerField(null=True, blank=True)
    abandoned = models.IntegerField(null=True, blank=True)
    depth = models.IntegerField(null=True, blank=True)
    substation = models.IntegerField(null=True, blank=True)
    feeder = models.IntegerField(null=True, blank=True)
    gis_sw_pos = models.CharField(max_length=-1, blank=True)
    ims_sw_pos = models.IntegerField(null=True, blank=True)
    o_status = models.IntegerField(null=True, blank=True)
    last_sw_history_id = models.IntegerField(null=True, blank=True)
    sw_phase_bitmap = models.IntegerField(null=True, blank=True)
    sw_phase_a_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_b_deviceid = models.CharField(max_length=-1, blank=True)
    sw_phase_c_deviceid = models.CharField(max_length=-1, blank=True)
    debug = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."subboundary"'
        app_label='djangoproject'

#"GosProduction"."Transmission" had 0 rows.
class GosProductionTransmission(models.Model):
    using = 'oms'
    gos_id = models.IntegerField(primary_key=True)
    gistablename = models.CharField(max_length=-1, blank=True)
    ogc_fid = models.IntegerField(null=True, blank=True)
    objectid = models.DecimalField(null=True, max_digits=10, decimal_places=0, blank=True)
    geodata = models.LineStringField(srid=26917, null=True, blank=True)
    enabled = models.IntegerField(null=True, blank=True)
    name = models.CharField(max_length=-1, blank=True)
    label1 = models.CharField(max_length=-1, blank=True)
    label2 = models.CharField(max_length=-1, blank=True)
    label3 = models.CharField(max_length=-1, blank=True)
    enetworkid = models.CharField(max_length=-1, blank=True)
    enettype = models.CharField(max_length=-1, blank=True)
    pole_id = models.CharField(max_length=-1, blank=True)
    map_loc = models.CharField(max_length=-1, blank=True)
    district = models.CharField(max_length=-1, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"gos_production"."transmission"'
        app_label='djangoproject'

#"Ims"."EstRestoreMins" had 0 rows.
class ImsEstRestoreMins(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    device_code = models.CharField(max_length=16, blank=True)
    minutes = models.IntegerField(null=True, blank=True)
    comments = models.CharField(max_length=64, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"ims"."est_restore_mins"'
        app_label='djangoproject'

#"Ims"."SwitchTracking" had 0 rows.
class ImsSwitchTracking(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    info_prompt = models.CharField(max_length=32, blank=True)
    data_size = models.IntegerField(null=True, blank=True)
    data_name = models.CharField(max_length=16, blank=True)
    report_heading = models.CharField(max_length=16, blank=True)
    required = models.NullBooleanField(null=True, blank=True)
    order = models.IntegerField(null=True, blank=True)
    correlator = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"ims"."switch_tracking"'
        app_label='djangoproject'

#"InformationSchema"."SqlSizingProfiles" had 0 rows.
class InformationSchemaSqlSizingProfiles(models.Model):
    using = 'oms'
    sizing_id = models.IntegerField(primary_key=True)
    sizing_name = models.CharField(max_length=-1, blank=True)
    profile_id = models.CharField(max_length=-1, blank=True)
    required_value = models.IntegerField(null=True, blank=True)
    comments = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"information_schema"."sql_sizing_profiles"'
        app_label='djangoproject'

#"Notifications"."AfterhoursJobs" had 0 rows.
class NotificationsAfterhoursJobs(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    incident_id = models.CharField(max_length=-1)
    incident_time = models.DateTimeField(null=True, blank=True)
    afterhours_job_id = models.IntegerField()
    afterhours_shift_id = models.IntegerField(null=True, blank=True)
    delay_mins_processing = models.IntegerField(null=True, blank=True)
    value1 = models.CharField(max_length=-1, blank=True)
    value2 = models.CharField(max_length=-1, blank=True)
    value3 = models.CharField(max_length=-1, blank=True)
    value4 = models.CharField(max_length=-1, blank=True)
    value5 = models.CharField(max_length=-1, blank=True)
    value6 = models.CharField(max_length=-1, blank=True)
    ivr_confirmed = models.IntegerField(null=True, blank=True)
    ivr_done = models.IntegerField(null=True, blank=True)
    html_tags = models.TextField(blank=True)
    email_template = models.CharField(max_length=-1, blank=True)
    sms_template = models.CharField(max_length=-1, blank=True)
    mail_done = models.IntegerField(null=True, blank=True)
    callout_profile = models.CharField(max_length=-1)
    callout_ids = models.TextField(blank=True)
    class Meta:
        db_table = '"notifications"."afterhours_jobs"'
        app_label='djangoproject'

#"Notifications"."AfterhoursShiftassignment" had 0 rows.
class NotificationsAfterhoursShiftassignment(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    afterhours_shift_id = models.IntegerField()
    employee_number = models.CharField(max_length=-1)
    delay_mins = models.IntegerField()
    notify_by = models.IntegerField()
    class Meta:
        db_table = '"notifications"."afterhours_shiftassignment"'
        app_label='djangoproject'

#"Notifications"."AfterhoursShiftdefinition" had 0 rows.
class NotificationsAfterhoursShiftdefinition(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    afterhours_shift_id = models.IntegerField(null=True, blank=True)
    afterhours_shift_description = models.CharField(max_length=-1)
    service_index = models.IntegerField()
    class Meta:
        db_table = '"notifications"."afterhours_shiftdefinition"'
        app_label='djangoproject'

#"Notifications"."AfterhoursShifttimes" had 0 rows.
class NotificationsAfterhoursShifttimes(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    afterhours_shift_id = models.IntegerField()
    start_day_of_week = models.IntegerField()
    start_time_of_day = models.CharField(max_length=-1)
    end_day_of_week = models.IntegerField()
    end_time_of_day = models.CharField(max_length=-1)
    class Meta:
        db_table = '"notifications"."afterhours_shifttimes"'
        app_label='djangoproject'

#"Notifications"."AfterhoursSuspend" had 0 rows.
class NotificationsAfterhoursSuspend(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=-1)
    suspend_until = models.DateTimeField(null=True, blank=True)
    service_index = models.IntegerField(null=True, blank=True)
    employee_number = models.CharField(max_length=-1, blank=True)
    completed = models.IntegerField(null=True, blank=True)
    update_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"notifications"."afterhours_suspend"'
        app_label='djangoproject'

#"Notifications"."KeyaccountDefinition" had 0 rows.
class NotificationsKeyaccountDefinition(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    key_account_id = models.IntegerField()
    key_account_description = models.CharField(max_length=-1)
    notify_by = models.IntegerField()
    customer_contact_name = models.CharField(max_length=-1, blank=True)
    customer_contact_info = models.CharField(max_length=-1, blank=True)
    primary_employee_number = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"notifications"."keyaccount_definition"'
        app_label='djangoproject'

#"Notifications"."KeyaccountGroupContacts" had 0 rows.
class NotificationsKeyaccountGroupContacts(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    key_account_id = models.IntegerField()
    employee_number = models.CharField(max_length=-1)
    class Meta:
        db_table = '"notifications"."keyaccount_group_contacts"'
        app_label='djangoproject'

#"Notifications"."KeyaccountMember" had 0 rows.
class NotificationsKeyaccountMember(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField(null=True, blank=True)
    key_account_id = models.IntegerField()
    service_index = models.IntegerField()
    account_number = models.CharField(max_length=-1)
    account_alias = models.CharField(max_length=-1)
    emergency_contact_name = models.CharField(max_length=-1, blank=True)
    emergency_contact_info = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"notifications"."keyaccount_member"'
        app_label='djangoproject'

#"PgCatalog"."PgAuthMembers" had 0 rows.
class PgCatalogPgAuthMembers(models.Model):
    using = 'oms'
    roleid = models.TextField(primary_key=True) # This field type is a guess.
    member = models.TextField() # This field type is a guess.
    grantor = models.TextField() # This field type is a guess.
    admin_option = models.BooleanField()
    class Meta:
        db_table = '"pg_catalog"."pg_auth_members"'
        app_label='djangoproject'

#"PgCatalog"."PgDbRoleSetting" had 0 rows.
class PgCatalogPgDbRoleSetting(models.Model):
    using = 'oms'
    setdatabase = models.TextField(primary_key=True) # This field type is a guess.
    setrole = models.TextField() # This field type is a guess.
    setconfig = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_db_role_setting"'
        app_label='djangoproject'

#"PgCatalog"."PgDefaultAcl" had 0 rows.
class PgCatalogPgDefaultAcl(models.Model):
    using = 'oms'
    defaclrole = models.TextField(primary_key=True) # This field type is a guess.
    defaclnamespace = models.TextField() # This field type is a guess.
    defaclobjtype = models.TextField() # This field type is a guess.
    defaclacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_default_acl"'
        app_label='djangoproject'

#"PgCatalog"."PgEnum" had 0 rows.
class PgCatalogPgEnum(models.Model):
    using = 'oms'
    enumtypid = models.TextField(primary_key=True) # This field type is a guess.
    enumsortorder = models.FloatField()
    enumlabel = models.TextField() # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_enum"'
        app_label='djangoproject'

#"PgCatalog"."PgForeignDataWrapper" had 0 rows.
class PgCatalogPgForeignDataWrapper(models.Model):
    using = 'oms'
    fdwname = models.TextField(primary_key=True) # This field type is a guess.
    fdwowner = models.TextField() # This field type is a guess.
    fdwhandler = models.TextField() # This field type is a guess.
    fdwvalidator = models.TextField() # This field type is a guess.
    fdwacl = models.TextField(blank=True) # This field type is a guess.
    fdwoptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_foreign_data_wrapper"'
        app_label='djangoproject'

#"PgCatalog"."PgForeignServer" had 0 rows.
class PgCatalogPgForeignServer(models.Model):
    using = 'oms'
    srvname = models.TextField(primary_key=True) # This field type is a guess.
    srvowner = models.TextField() # This field type is a guess.
    srvfdw = models.TextField() # This field type is a guess.
    srvtype = models.TextField(blank=True)
    srvversion = models.TextField(blank=True)
    srvacl = models.TextField(blank=True) # This field type is a guess.
    srvoptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_foreign_server"'
        app_label='djangoproject'

#"PgCatalog"."PgForeignTable" had 0 rows.
class PgCatalogPgForeignTable(models.Model):
    using = 'oms'
    ftrelid = models.TextField(primary_key=True) # This field type is a guess.
    ftserver = models.TextField() # This field type is a guess.
    ftoptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_foreign_table"'
        app_label='djangoproject'

#"PgCatalog"."PgInherits" had 0 rows.
class PgCatalogPgInherits(models.Model):
    using = 'oms'
    inhrelid = models.TextField(primary_key=True) # This field type is a guess.
    inhparent = models.TextField() # This field type is a guess.
    inhseqno = models.IntegerField()
    class Meta:
        db_table = '"pg_catalog"."pg_inherits"'
        app_label='djangoproject'

#"PgCatalog"."PgLargeobject" had 0 rows.
class PgCatalogPgLargeobject(models.Model):
    using = 'oms'
    loid = models.TextField(primary_key=True) # This field type is a guess.
    pageno = models.IntegerField()
    data = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_largeobject"'
        app_label='djangoproject'

#"PgCatalog"."PgLargeobjectMetadata" had 0 rows.
class PgCatalogPgLargeobjectMetadata(models.Model):
    using = 'oms'
    lomowner = models.TextField(primary_key=True) # This field type is a guess.
    lomacl = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_largeobject_metadata"'
        app_label='djangoproject'

#"PgCatalog"."PgSeclabel" had 0 rows.
class PgCatalogPgSeclabel(models.Model):
    using = 'oms'
    objoid = models.TextField(primary_key=True) # This field type is a guess.
    classoid = models.TextField() # This field type is a guess.
    objsubid = models.IntegerField()
    provider = models.TextField(blank=True)
    label = models.TextField(blank=True)
    class Meta:
        db_table = '"pg_catalog"."pg_seclabel"'
        app_label='djangoproject'

#"PgCatalog"."PgTrigger" had 0 rows.
class PgCatalogPgTrigger(models.Model):
    using = 'oms'
    tgrelid = models.TextField(primary_key=True) # This field type is a guess.
    tgname = models.TextField() # This field type is a guess.
    tgfoid = models.TextField() # This field type is a guess.
    tgtype = models.SmallIntegerField()
    tgenabled = models.TextField() # This field type is a guess.
    tgisinternal = models.BooleanField()
    tgconstrrelid = models.TextField() # This field type is a guess.
    tgconstrindid = models.TextField() # This field type is a guess.
    tgconstraint = models.TextField() # This field type is a guess.
    tgdeferrable = models.BooleanField()
    tginitdeferred = models.BooleanField()
    tgnargs = models.SmallIntegerField()
    tgattr = models.TextField() # This field type is a guess.
    tgargs = models.TextField(blank=True) # This field type is a guess.
    tgqual = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_trigger"'
        app_label='djangoproject'

#"PgCatalog"."PgUserMapping" had 0 rows.
class PgCatalogPgUserMapping(models.Model):
    using = 'oms'
    umuser = models.TextField(primary_key=True) # This field type is a guess.
    umserver = models.TextField() # This field type is a guess.
    umoptions = models.TextField(blank=True) # This field type is a guess.
    class Meta:
        db_table = '"pg_catalog"."pg_user_mapping"'
        app_label='djangoproject'

#"Sms"."SmsInfo" had 0 rows.
class SmsSmsInfo(models.Model):
    using = 'oms'
    rcd_id = models.IntegerField(primary_key=True)
    cell_number = models.CharField(max_length=-1, blank=True)
    account_number = models.CharField(max_length=-1, blank=True)
    account_alias = models.CharField(max_length=-1, blank=True)
    active = models.NullBooleanField(null=True, blank=True)
    service_index = models.IntegerField(null=True, blank=True)
    inserted_datetime = models.DateTimeField()
    class Meta:
        db_table = '"sms"."sms_info"'
        app_label='djangoproject'

#"Sms"."SmsRegistrationLog" had 0 rows.
class SmsSmsRegistrationLog(models.Model):
    using = 'oms'
    rcd_id = models.IntegerField(primary_key=True)
    cell_number = models.CharField(max_length=-1, blank=True)
    account_number = models.CharField(max_length=-1, blank=True)
    account_alias = models.CharField(max_length=-1, blank=True)
    result = models.CharField(max_length=-1, blank=True)
    registration_datetime = models.CharField(max_length=-1, blank=True)
    service_index = models.IntegerField()
    action = models.CharField(max_length=-1, blank=True)
    inserted_datetime = models.DateTimeField()
    class Meta:
        db_table = '"sms"."sms_registration_log"'
        app_label='djangoproject'

#"Sms"."SmsTxnLog" had 0 rows.
class SmsSmsTxnLog(models.Model):
    using = 'oms'
    rcd_id = models.IntegerField(primary_key=True)
    cell_number = models.CharField(max_length=-1, blank=True)
    account_number = models.CharField(max_length=-1, blank=True)
    account_alias = models.CharField(max_length=-1, blank=True)
    txn_type = models.CharField(max_length=-1, blank=True)
    txn_status = models.CharField(max_length=-1, blank=True)
    message = models.CharField(max_length=-1, blank=True)
    results = models.CharField(max_length=-1, blank=True)
    service_index = models.IntegerField(null=True, blank=True)
    sent_message_id = models.CharField(max_length=-1, blank=True)
    inserted_datetime = models.DateTimeField()
    class Meta:
        db_table = '"sms"."sms_txn_log"'
        app_label='djangoproject'

#"Sms"."SmsTxnQueue" had 0 rows.
class SmsSmsTxnQueue(models.Model):
    using = 'oms'
    record_id = models.IntegerField(primary_key=True)
    create_date = models.DateTimeField()
    next_try = models.DateTimeField()
    expire_date = models.DateTimeField()
    cell_number = models.CharField(max_length=-1, blank=True)
    message = models.CharField(max_length=-1, blank=True)
    service_index = models.IntegerField(null=True, blank=True)
    account_number = models.CharField(max_length=-1, blank=True)
    account_alias = models.CharField(max_length=-1, blank=True)
    class Meta:
        db_table = '"sms"."sms_txn_queue"'
        app_label='djangoproject'

#"Vehicle"."CurrentInfo" had 0 rows.
class VehicleCurrentInfo(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    login_type = models.CharField(max_length=1, blank=True)
    login_number = models.CharField(max_length=32, blank=True)
    current_gps = models.GeometryField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"vehicle"."current_info"'
        app_label='djangoproject'

#"Vehicle"."FormDefaults" had 0 rows.
class VehicleFormDefaults(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    order_type = models.CharField(max_length=1, blank=True)
    category = models.CharField(max_length=2, blank=True)
    element = models.CharField(max_length=16, blank=True)
    default_value = models.CharField(max_length=16, blank=True)
    last_set = models.DateTimeField(null=True, blank=True)
    userid = models.CharField(max_length=16, blank=True)
    class Meta:
        db_table = '"vehicle"."form_defaults"'
        app_label='djangoproject'

#"Vehicle"."Requests" had 0 rows.
class VehicleRequests(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    request_string = models.TextField(blank=True)
    created = models.DateTimeField(null=True, blank=True)
    sent_on = models.DateTimeField(null=True, blank=True)
    response_string = models.TextField(blank=True)
    responded = models.NullBooleanField(null=True, blank=True)
    responded_on = models.DateTimeField(null=True, blank=True)
    response_result = models.NullBooleanField(null=True, blank=True)
    action = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"vehicle"."requests"'
        app_label='djangoproject'

#"Vehicle"."SerialMessages" had 0 rows.
class VehicleSerialMessages(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    data = models.TextField(blank=True)
    processed = models.DateTimeField(null=True, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"vehicle"."serial_messages"'
        app_label='djangoproject'

#"Vehicle"."Sessions" had 0 rows.
class VehicleSessions(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    public_key = models.CharField(max_length=64, blank=True)
    active = models.NullBooleanField(null=True, blank=True)
    tcp_port = models.IntegerField(null=True, blank=True)
    session_id = models.CharField(max_length=64, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"vehicle"."sessions"'
        app_label='djangoproject'

#"Vehicle"."WorkItemDetails" had 0 rows.
class VehicleWorkItemDetails(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    work_item_type = models.CharField(max_length=1, blank=True)
    work_item_number = models.CharField(max_length=16, blank=True)
    work_item_details = models.TextField(blank=True)
    last_updated = models.DateTimeField(null=True, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"vehicle"."work_item_details"'
        app_label='djangoproject'

#"Vehicle"."WorkItems" had 0 rows.
class VehicleWorkItems(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    item_type = models.CharField(max_length=1, blank=True)
    item_id = models.CharField(max_length=32, blank=True)
    cust_name = models.CharField(max_length=32, blank=True)
    service_location = models.CharField(max_length=48, blank=True)
    service_type = models.CharField(max_length=16, blank=True)
    work_type = models.CharField(max_length=16, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"vehicle"."work_items"'
        app_label='djangoproject'

#"Wfm"."Area" had 0 rows.
class WfmArea(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    area_name = models.CharField(max_length=32)
    enabled = models.NullBooleanField(null=True, blank=True)
    description = models.CharField(max_length=-1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."area"'
        app_label='djangoproject'

#"Wfm"."AreaAssignment" had 0 rows.
class WfmAreaAssignment(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    area_name = models.CharField(max_length=32)
    assignment_type = models.CharField(max_length=1, blank=True)
    assignment_number = models.CharField(max_length=32, blank=True)
    assignment_name = models.CharField(max_length=32, blank=True)
    comment = models.CharField(max_length=48, blank=True)
    enabled = models.NullBooleanField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."area_assignment"'
        app_label='djangoproject'

#"Wfm"."Assignment" had 0 rows.
class WfmAssignment(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    start_date = models.DateTimeField(null=True, blank=True)
    work_type = models.CharField(max_length=1)
    work_item_number = models.CharField(max_length=16)
    work_item_location = models.CharField(max_length=-1, blank=True)
    assigned_on = models.DateTimeField(null=True, blank=True)
    assigned_by = models.CharField(max_length=32)
    auto_dispatch = models.NullBooleanField(null=True, blank=True)
    auto_dispatch_on = models.DateField(null=True, blank=True)
    assign_entity_type = models.CharField(max_length=1, blank=True)
    assign_entity_number = models.CharField(max_length=16, blank=True)
    assign_entity_name = models.CharField(max_length=32, blank=True)
    pending = models.NullBooleanField(null=True, blank=True)
    due_date = models.DateField(null=True, blank=True)
    due_time = models.TimeField(null=True, blank=True)
    district = models.CharField(max_length=32, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"wfm"."assignment"'
        app_label='djangoproject'

#"Wfm"."ColumnNames" had 0 rows.
class WfmColumnNames(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    grid_model_name = models.CharField(max_length=32, blank=True)
    orig_column_name = models.CharField(max_length=32, blank=True)
    new_column_name = models.CharField(max_length=32, blank=True)
    comment = models.CharField(max_length=60, blank=True)
    class Meta:
        db_table = '"wfm"."column_names"'
        app_label='djangoproject'

#"Wfm"."Department" had 0 rows.
class WfmDepartment(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    full_name = models.CharField(max_length=32, blank=True)
    code = models.CharField(max_length=16, blank=True)
    comment = models.CharField(max_length=48, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."department"'
        app_label='djangoproject'

#"Wfm"."DispositionCodes" had 0 rows.
class WfmDispositionCodes(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    service_index = models.CharField(max_length=32, blank=True)
    code = models.CharField(max_length=10, blank=True)
    description = models.CharField(max_length=64, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."disposition_codes"'
        app_label='djangoproject'

#"Wfm"."EmployeeEquipment" had 0 rows.
class WfmEmployeeEquipment(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    employee_recordid = models.IntegerField()
    equipment_recordid = models.IntegerField()
    onloan = models.NullBooleanField(null=True, blank=True)
    permanent = models.NullBooleanField(null=True, blank=True)
    start_date = models.DateTimeField(null=True, blank=True)
    end_date = models.DateTimeField(null=True, blank=True)
    employee_name = models.CharField(max_length=32, blank=True)
    equipment_name = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"wfm"."employee_equipment"'
        app_label='djangoproject'

#"Wfm"."Equipment" had 0 rows.
class WfmEquipment(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    equip_type = models.CharField(max_length=-1, blank=True)
    equip_category = models.CharField(max_length=-1, blank=True)
    equip_size = models.CharField(max_length=-1, blank=True)
    equip_description = models.CharField(max_length=-1, blank=True)
    equip_height = models.CharField(max_length=8, blank=True)
    equip_name = models.CharField(max_length=48, blank=True)
    class Meta:
        db_table = '"wfm"."equipment"'
        app_label='djangoproject'

#"Wfm"."Image" had 0 rows.
class WfmImage(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    order_number = models.CharField(max_length=16, blank=True)
    name = models.CharField(max_length=32, blank=True)
    content_type = models.CharField(max_length=1, blank=True)
    image_data = models.TextField(blank=True) # This field type is a guess.
    image_path = models.CharField(max_length=128, blank=True)
    uploaded_on = models.DateTimeField(null=True, blank=True)
    uploaded_by = models.CharField(max_length=32, blank=True)
    comments = models.TextField(blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    accuracy = models.IntegerField(null=True, blank=True)
    image_width = models.IntegerField(null=True, blank=True)
    image_height = models.IntegerField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"wfm"."image"'
        app_label='djangoproject'

#"Wfm"."IncidentHistory" had 0 rows.
class WfmIncidentHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    incident_id = models.CharField(max_length=16)
    status_code = models.CharField(max_length=10, blank=True)
    customer_account_number = models.CharField(max_length=16, blank=True)
    customer_sub_account = models.CharField(max_length=4, blank=True)
    service_loc_account_number = models.CharField(max_length=16, blank=True)
    service_loc_sub_account = models.CharField(max_length=4, blank=True)
    crew_number = models.CharField(max_length=16, blank=True)
    meter_task_action = models.CharField(max_length=12, blank=True)
    meter_task_old_meter_number = models.CharField(max_length=16, blank=True)
    meter_task_old_meter_type = models.CharField(max_length=10, blank=True)
    meter_task_old_multiplier = models.CharField(max_length=8, blank=True)
    meter_task_old_usage = models.CharField(max_length=16, blank=True)
    meter_task_old_manufacturer = models.CharField(max_length=16, blank=True)
    meter_task_old_type = models.CharField(max_length=16, blank=True)
    meter_task_old_dials = models.CharField(max_length=16, blank=True)
    meter_task_old_form = models.CharField(max_length=16, blank=True)
    meter_task_old_voltage = models.CharField(max_length=8, blank=True)
    meter_task_old_phase = models.CharField(max_length=8, blank=True)
    meter_task_old_class_str = models.CharField(max_length=16, blank=True)
    meter_task_old_wire = models.CharField(max_length=16, blank=True)
    meter_task_old_module = models.CharField(max_length=16, blank=True)
    meter_task_old_reading = models.CharField(max_length=16, blank=True)
    meter_task_old_date = models.CharField(max_length=48, blank=True)
    meter_task_new_meter_number = models.CharField(max_length=16, blank=True)
    meter_task_new_meter_type = models.CharField(max_length=10, blank=True)
    meter_task_new_multiplier = models.CharField(max_length=8, blank=True)
    meter_task_new_usage = models.CharField(max_length=16, blank=True)
    meter_task_new_manufacturer = models.CharField(max_length=16, blank=True)
    meter_task_new_type = models.CharField(max_length=16, blank=True)
    meter_task_new_dials = models.CharField(max_length=16, blank=True)
    meter_task_new_form = models.CharField(max_length=16, blank=True)
    meter_task_new_voltage = models.CharField(max_length=8, blank=True)
    meter_task_new_phase = models.CharField(max_length=8, blank=True)
    meter_task_new_class_str = models.CharField(max_length=16, blank=True)
    meter_task_new_wire = models.CharField(max_length=16, blank=True)
    meter_task_new_module = models.CharField(max_length=16, blank=True)
    meter_task_new_reading = models.CharField(max_length=16, blank=True)
    meter_task_new_date = models.CharField(max_length=48, blank=True)
    comment = models.CharField(max_length=255, blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    close_comments = models.CharField(max_length=255, blank=True)
    close_by = models.CharField(max_length=32, blank=True)
    close_when = models.DateTimeField(null=True, blank=True)
    close_status = models.IntegerField(null=True, blank=True)
    entered_date = models.DateField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"wfm"."incident_history"'
        app_label='djangoproject'

#"Wfm"."Messaging" had 0 rows.
class WfmMessaging(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    sent_on = models.DateTimeField(null=True, blank=True)
    sent_by = models.CharField(max_length=32, blank=True)
    sent_origin = models.CharField(max_length=1, blank=True)
    sent_to = models.CharField(max_length=32, blank=True)
    sent_priority = models.IntegerField(null=True, blank=True)
    subject = models.CharField(max_length=80, blank=True)
    message = models.TextField(blank=True)
    received_on = models.DateTimeField(null=True, blank=True)
    acknowledged_by = models.CharField(max_length=32, blank=True)
    acknowledged_origin = models.CharField(max_length=1, blank=True)
    acknowledged_on = models.DateTimeField(null=True, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."messaging"'
        app_label='djangoproject'

#"Wfm"."MeterAction" had 0 rows.
class WfmMeterAction(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    related_order_type = models.CharField(max_length=1, blank=True)
    related_order_number = models.CharField(max_length=16, blank=True)
    mtr_reading = models.CharField(max_length=16, blank=True)
    mtr_read_date = models.DateField(null=True, blank=True)
    mtr_number = models.CharField(max_length=20, blank=True)
    mtr_serial_number = models.CharField(max_length=20, blank=True)
    mtr_multiplier = models.CharField(max_length=16, blank=True)
    mtr_kw_read = models.CharField(max_length=16, blank=True)
    mtr_kvar_read = models.CharField(max_length=16, blank=True)
    action = models.CharField(max_length=1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=32, blank=True)
    comment = models.CharField(max_length=48, blank=True)
    mtr_left = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."meter_action"'
        app_label='djangoproject'

#"Wfm"."MeterActionHistory" had 0 rows.
class WfmMeterActionHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    related_order_type = models.CharField(max_length=1, blank=True)
    related_order_number = models.CharField(max_length=16, blank=True)
    mtr_reading = models.CharField(max_length=16, blank=True)
    mtr_read_date = models.DateField(null=True, blank=True)
    mtr_number = models.CharField(max_length=20, blank=True)
    mtr_serial_number = models.CharField(max_length=20, blank=True)
    mtr_multiplier = models.CharField(max_length=16, blank=True)
    mtr_kw_read = models.CharField(max_length=16, blank=True)
    mtr_kvar_read = models.CharField(max_length=16, blank=True)
    action = models.CharField(max_length=1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=32, blank=True)
    comment = models.CharField(max_length=48, blank=True)
    mtr_left = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."meter_action_history"'
        app_label='djangoproject'

#"Wfm"."MeterReading" had 0 rows.
class WfmMeterReading(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    meter_number = models.CharField(max_length=20, blank=True)
    return_reading = models.CharField(max_length=20, blank=True)
    return_read_date = models.DateField(null=True, blank=True)
    meter_multiplier = models.CharField(max_length=16, blank=True)
    mtr_kw_read = models.CharField(max_length=16, blank=True)
    mtr_kvar_read = models.CharField(max_length=16, blank=True)
    mtr_removed_left = models.CharField(max_length=1, blank=True)
    so_number = models.CharField(max_length=16, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."meter_reading"'
        app_label='djangoproject'

#"Wfm"."Note" had 0 rows.
class WfmNote(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    work_item = models.CharField(max_length=32, blank=True)
    work_type = models.CharField(max_length=1, blank=True)
    sequence = models.IntegerField(null=True, blank=True)
    note = models.TextField(blank=True)
    entered_by = models.CharField(max_length=32, blank=True)
    entered_on = models.DateTimeField(null=True, blank=True)
    origin = models.CharField(max_length=1, blank=True)
    class Meta:
        db_table = '"wfm"."note"'
        app_label='djangoproject'

#"Wfm"."SecurityLight" had 0 rows.
class WfmSecurityLight(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    related_order_type = models.CharField(max_length=1, blank=True)
    related_order_number = models.CharField(max_length=16, blank=True)
    action = models.CharField(max_length=1, blank=True)
    quantity = models.IntegerField(null=True, blank=True)
    type = models.CharField(max_length=32, blank=True)
    location = models.CharField(max_length=32, blank=True)
    comment = models.CharField(max_length=48, blank=True)
    status = models.CharField(max_length=12, blank=True)
    created_by = models.CharField(max_length=32, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."security_light"'
        app_label='djangoproject'

#"Wfm"."SecurityLightHistory" had 0 rows.
class WfmSecurityLightHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    order_number = models.CharField(max_length=16, blank=True)
    related_order_type = models.CharField(max_length=1, blank=True)
    related_order_number = models.CharField(max_length=16, blank=True)
    type = models.CharField(max_length=32, blank=True)
    location = models.CharField(max_length=32, blank=True)
    status = models.CharField(max_length=12, blank=True)
    comment = models.CharField(max_length=48, blank=True)
    action = models.CharField(max_length=1, blank=True)
    quantity = models.IntegerField(null=True, blank=True)
    created_by = models.CharField(max_length=32, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."security_light_history"'
        app_label='djangoproject'

#"Wfm"."SecurityLightTypes" had 0 rows.
class WfmSecurityLightTypes(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    type = models.CharField(max_length=1, blank=True)
    name = models.CharField(max_length=16, blank=True)
    description = models.CharField(max_length=48, blank=True)
    created = models.DateTimeField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."security_light_types"'
        app_label='djangoproject'

#"Wfm"."ServiceOrder" had 0 rows.
class WfmServiceOrder(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    so_number = models.CharField(max_length=16)
    so_description = models.CharField(max_length=256, blank=True)
    so_service = models.CharField(max_length=16, blank=True)
    so_type = models.CharField(max_length=16, blank=True)
    so_code = models.CharField(max_length=4, blank=True)
    start_date = models.DateTimeField(null=True, blank=True)
    return_date = models.DateTimeField(null=True, blank=True)
    customer_name = models.CharField(max_length=32, blank=True)
    customer_account_number = models.CharField(max_length=16, blank=True)
    customer_sub_account = models.CharField(max_length=4, blank=True)
    customer_email = models.CharField(max_length=128, blank=True)
    customer_billing_daytime_phone = models.CharField(max_length=16, blank=True)
    customer_evening_phone = models.CharField(max_length=16, blank=True)
    customer_billing_address = models.CharField(max_length=48, blank=True)
    service_loc_location_number = models.CharField(max_length=16, blank=True)
    service_loc_account_number = models.CharField(max_length=16, blank=True)
    service_loc_sub_account = models.CharField(max_length=4, blank=True)
    service_loc_address = models.CharField(max_length=-1, blank=True)
    service_loc_city = models.CharField(max_length=48, blank=True)
    service_loc_county = models.CharField(max_length=48, blank=True)
    service_loc_state = models.CharField(max_length=32, blank=True)
    service_loc_zip = models.CharField(max_length=10, blank=True)
    service_loc_appartment = models.CharField(max_length=16, blank=True)
    service_loc_country = models.CharField(max_length=32, blank=True)
    service_loc_transformer_number1 = models.CharField(max_length=16, blank=True)
    service_loc_transformer_number2 = models.CharField(max_length=16, blank=True)
    service_loc_transformer_number3 = models.CharField(max_length=16, blank=True)
    service_loc_line_section = models.CharField(max_length=32, blank=True)
    service_loc_township = models.CharField(max_length=32, blank=True)
    service_loc_subdivision = models.CharField(max_length=32, blank=True)
    service_loc_block = models.CharField(max_length=32, blank=True)
    service_loc_lot = models.CharField(max_length=32, blank=True)
    service_loc_board_dist = models.CharField(max_length=32, blank=True)
    service_loc_district = models.CharField(max_length=32, blank=True)
    service_loc_tax_district = models.CharField(max_length=32, blank=True)
    service_loc_school_dist = models.CharField(max_length=32, blank=True)
    service_loc_sequence = models.IntegerField(null=True, blank=True)
    service_loc_route = models.IntegerField(null=True, blank=True)
    service_loc_cycle = models.IntegerField(null=True, blank=True)
    service_loc_expanded_location = models.CharField(max_length=48, blank=True)
    service_loc_cut_flag = models.NullBooleanField(null=True, blank=True)
    service_loc_svc_status = models.CharField(max_length=8, blank=True)
    service_loc_description = models.CharField(max_length=-1, blank=True)
    contact_address_address = models.CharField(max_length=48, blank=True)
    contact_address_city = models.CharField(max_length=48, blank=True)
    contact_address_county = models.CharField(max_length=48, blank=True)
    contact_address_state = models.CharField(max_length=48, blank=True)
    contact_address_zip = models.CharField(max_length=10, blank=True)
    contact_address_country = models.CharField(max_length=32, blank=True)
    additional_contact_address = models.CharField(max_length=48, blank=True)
    additional_contact_city = models.CharField(max_length=48, blank=True)
    additional_contact_county = models.CharField(max_length=48, blank=True)
    additional_contact_state = models.CharField(max_length=32, blank=True)
    additional_contact_zip = models.CharField(max_length=10, blank=True)
    additional_contact_country = models.CharField(max_length=32, blank=True)
    amount_taken = models.CharField(max_length=16, blank=True)
    worked_by = models.CharField(max_length=32, blank=True)
    substation = models.CharField(max_length=32, blank=True)
    feeder = models.CharField(max_length=32, blank=True)
    loadmanagement_device_status = models.CharField(max_length=12, blank=True)
    misc_service_status = models.CharField(max_length=12, blank=True)
    sewer_status = models.CharField(max_length=12, blank=True)
    water_tank_status = models.CharField(max_length=12, blank=True)
    comment = models.CharField(max_length=255, blank=True)
    num_images = models.IntegerField(null=True, blank=True)
    pending_state = models.CharField(max_length=1, blank=True)
    current_state = models.CharField(max_length=16, blank=True)
    notes = models.TextField(blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    closed_comments = models.CharField(max_length=255, blank=True)
    closed_by = models.CharField(max_length=32, blank=True)
    closed_when = models.DateTimeField(null=True, blank=True)
    due_date = models.DateField(null=True, blank=True)
    due_time = models.TimeField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=1, blank=True)
    created_by_name = models.CharField(max_length=32, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    service_maploc = models.CharField(max_length=20, blank=True)
    dispatched = models.NullBooleanField(null=True, blank=True)
    assigned = models.NullBooleanField(null=True, blank=True)
    depends_on_so = models.CharField(max_length=16, blank=True)
    depends_on_wo = models.CharField(max_length=16, blank=True)
    weight = models.DecimalField(null=True, max_digits=4, decimal_places=1, blank=True)
    deleted_date = models.DateTimeField(null=True, blank=True)
    deleted_by = models.CharField(max_length=32, blank=True)
    department = models.CharField(max_length=32, blank=True)
    service_loc_pole = models.CharField(max_length=16, blank=True)
    bill_connect_charge = models.CharField(max_length=1, blank=True)
    mtr_removed_left = models.CharField(max_length=1, blank=True)
    mtr_discon_read = models.CharField(max_length=1, blank=True)
    reconnect = models.CharField(max_length=1, blank=True)
    disconnected = models.CharField(max_length=1, blank=True)
    removed = models.CharField(max_length=1, blank=True)
    discon_non_payment = models.CharField(max_length=1, blank=True)
    loadmgtdevdisc = models.CharField(max_length=1, blank=True)
    loadmgtdevremd = models.CharField(max_length=1, blank=True)
    entered_date = models.DateField(null=True, blank=True)
    checked = models.NullBooleanField(null=True, blank=True)
    icon_name = models.CharField(max_length=32, blank=True)
    on_hold = models.NullBooleanField(null=True, blank=True)
    request_date = models.DateField(null=True, blank=True)
    request_time = models.TimeField(null=True, blank=True)
    so_held = models.NullBooleanField(null=True, blank=True)
    first_dispatch_date = models.DateField(null=True, blank=True)
    overdue_date = models.DateField(null=True, blank=True)
    scheduled_time = models.DateTimeField(null=True, blank=True)
    so_rate = models.CharField(max_length=16, blank=True)
    district = models.CharField(max_length=32, blank=True)
    remove_mtr_multiplier = models.CharField(max_length=16, blank=True)
    locbook = models.CharField(max_length=32, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"wfm"."service_order"'
        app_label='djangoproject'

#"Wfm"."ServiceOrderHistory" had 0 rows.
class WfmServiceOrderHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    so_number = models.CharField(max_length=16)
    so_description = models.CharField(max_length=256, blank=True)
    so_service = models.CharField(max_length=16, blank=True)
    so_type = models.CharField(max_length=16, blank=True)
    so_code = models.CharField(max_length=4, blank=True)
    status_code = models.CharField(max_length=10, blank=True)
    start_date = models.DateTimeField(null=True, blank=True)
    return_date = models.DateTimeField(null=True, blank=True)
    customer_name = models.CharField(max_length=32, blank=True)
    customer_account_number = models.CharField(max_length=16, blank=True)
    customer_sub_account = models.CharField(max_length=4, blank=True)
    customer_email = models.CharField(max_length=128, blank=True)
    customer_billing_daytime_phone = models.CharField(max_length=16, blank=True)
    customer_evening_phone = models.CharField(max_length=16, blank=True)
    customer_billing_address = models.CharField(max_length=48, blank=True)
    service_loc_location_number = models.CharField(max_length=16, blank=True)
    service_loc_account_number = models.CharField(max_length=16, blank=True)
    service_loc_sub_account = models.CharField(max_length=4, blank=True)
    service_loc_address = models.CharField(max_length=-1, blank=True)
    service_loc_city = models.CharField(max_length=48, blank=True)
    service_loc_county = models.CharField(max_length=48, blank=True)
    service_loc_state = models.CharField(max_length=32, blank=True)
    service_loc_zip = models.CharField(max_length=10, blank=True)
    service_loc_appartment = models.CharField(max_length=16, blank=True)
    service_loc_country = models.CharField(max_length=32, blank=True)
    service_loc_transformer_number1 = models.CharField(max_length=16, blank=True)
    service_loc_transformer_number2 = models.CharField(max_length=16, blank=True)
    service_loc_transformer_number3 = models.CharField(max_length=16, blank=True)
    service_loc_line_section = models.CharField(max_length=32, blank=True)
    service_loc_township = models.CharField(max_length=32, blank=True)
    service_loc_subdivision = models.CharField(max_length=32, blank=True)
    service_loc_block = models.CharField(max_length=32, blank=True)
    service_loc_lot = models.CharField(max_length=32, blank=True)
    service_loc_board_dist = models.CharField(max_length=32, blank=True)
    service_loc_district = models.CharField(max_length=32, blank=True)
    service_loc_tax_district = models.CharField(max_length=32, blank=True)
    service_loc_school_dist = models.CharField(max_length=32, blank=True)
    service_loc_sequence = models.IntegerField(null=True, blank=True)
    service_loc_route = models.IntegerField(null=True, blank=True)
    service_loc_cycle = models.IntegerField(null=True, blank=True)
    service_loc_expanded_location = models.CharField(max_length=48, blank=True)
    service_loc_cut_flag = models.NullBooleanField(null=True, blank=True)
    service_loc_svc_status = models.CharField(max_length=8, blank=True)
    service_loc_description = models.CharField(max_length=-1, blank=True)
    contact_address_address = models.CharField(max_length=48, blank=True)
    contact_address_city = models.CharField(max_length=48, blank=True)
    contact_address_county = models.CharField(max_length=48, blank=True)
    contact_address_state = models.CharField(max_length=48, blank=True)
    contact_address_zip = models.CharField(max_length=10, blank=True)
    contact_address_country = models.CharField(max_length=32, blank=True)
    additional_contact_address = models.CharField(max_length=48, blank=True)
    additional_contact_city = models.CharField(max_length=48, blank=True)
    additional_contact_county = models.CharField(max_length=48, blank=True)
    additional_contact_state = models.CharField(max_length=32, blank=True)
    additional_contact_zip = models.CharField(max_length=10, blank=True)
    additional_contact_country = models.CharField(max_length=32, blank=True)
    amount_taken = models.CharField(max_length=16, blank=True)
    worked_by = models.CharField(max_length=32, blank=True)
    substation = models.CharField(max_length=32, blank=True)
    feeder = models.CharField(max_length=32, blank=True)
    loadmanagement_device_status = models.CharField(max_length=12, blank=True)
    misc_service_status = models.CharField(max_length=12, blank=True)
    sewer_status = models.CharField(max_length=12, blank=True)
    water_tank_status = models.CharField(max_length=12, blank=True)
    comment = models.CharField(max_length=255, blank=True)
    num_images = models.IntegerField(null=True, blank=True)
    notes = models.TextField(blank=True)
    geodata = models.GeometryField(null=True, blank=True)
    closed_comments = models.CharField(max_length=255, blank=True)
    closed_by = models.CharField(max_length=32, blank=True)
    closed_when = models.DateTimeField(null=True, blank=True)
    closed_status = models.IntegerField(null=True, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=1, blank=True)
    created_by_name = models.CharField(max_length=32, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    service_maploc = models.CharField(max_length=20, blank=True)
    deleted_date = models.DateTimeField(null=True, blank=True)
    deleted_by = models.CharField(max_length=32, blank=True)
    due_date = models.DateField(null=True, blank=True)
    department = models.CharField(max_length=32, blank=True)
    return_reading = models.CharField(max_length=16, blank=True)
    return_read_date = models.DateField(null=True, blank=True)
    meter_number = models.CharField(max_length=20, blank=True)
    meter_serial_number = models.CharField(max_length=20, blank=True)
    meter_multiplier = models.CharField(max_length=16, blank=True)
    mtr_kw_read = models.CharField(max_length=16, blank=True)
    mtr_kvar_read = models.CharField(max_length=16, blank=True)
    service_loc_pole = models.CharField(max_length=16, blank=True)
    bill_connect_charge = models.CharField(max_length=1, blank=True)
    mtr_removed_left = models.CharField(max_length=1, blank=True)
    mtr_discon_read = models.CharField(max_length=1, blank=True)
    reconnect = models.CharField(max_length=1, blank=True)
    disconnected = models.CharField(max_length=1, blank=True)
    removed = models.CharField(max_length=1, blank=True)
    discon_non_payment = models.CharField(max_length=1, blank=True)
    loadmgtdevdisc = models.CharField(max_length=1, blank=True)
    loadmgtdevremd = models.CharField(max_length=1, blank=True)
    entered_date = models.DateField(null=True, blank=True)
    scheduled_time = models.DateTimeField(null=True, blank=True)
    first_dispatch_date = models.DateField(null=True, blank=True)
    overdue_date = models.DateField(null=True, blank=True)
    so_rate = models.CharField(max_length=16, blank=True)
    district = models.CharField(max_length=32, blank=True)
    objects = models.GeoManager()
    class Meta:
        db_table = '"wfm"."service_order_history"'
        app_label='djangoproject'

#"Wfm"."TimeReport" had 0 rows.
class WfmTimeReport(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    employee_number = models.CharField(max_length=16)
    employee_name = models.CharField(max_length=48)
    start_time = models.DateTimeField()
    end_time = models.DateTimeField(null=True, blank=True)
    entered_by = models.CharField(max_length=32, blank=True)
    entered_on = models.DateTimeField(null=True, blank=True)
    time_classification = models.CharField(max_length=32, blank=True)
    work_item = models.CharField(max_length=32, blank=True)
    work_type = models.CharField(max_length=16, blank=True)
    crew_number = models.CharField(max_length=16, blank=True)
    class Meta:
        db_table = '"wfm"."time_report"'
        app_label='djangoproject'

#"Wfm"."WeightSubtypes" had 0 rows.
class WfmWeightSubtypes(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    name = models.CharField(max_length=32, blank=True)
    code = models.CharField(max_length=2, blank=True)
    work_type = models.CharField(max_length=1, blank=True)
    description = models.CharField(max_length=48, blank=True)
    class Meta:
        db_table = '"wfm"."weight_subtypes"'
        app_label='djangoproject'

#"Wfm"."WorkOrder" had 0 rows.
class WfmWorkOrder(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    wo_number = models.CharField(max_length=16)
    wo_description = models.CharField(max_length=256, blank=True)
    wo_service = models.CharField(max_length=16, blank=True)
    wo_type = models.CharField(max_length=16, blank=True)
    wo_code = models.CharField(max_length=4, blank=True)
    reference_number = models.CharField(max_length=16, blank=True)
    customer_name = models.CharField(max_length=32, blank=True)
    customer_account_number = models.CharField(max_length=16, blank=True)
    customer_sub_account = models.CharField(max_length=4, blank=True)
    customer_email = models.CharField(max_length=128, blank=True)
    customer_billing_daytime_phone = models.CharField(max_length=16, blank=True)
    customer_evening_phone = models.CharField(max_length=16, blank=True)
    customer_billing_address = models.CharField(max_length=48, blank=True)
    service_loc_location_number = models.CharField(max_length=16, blank=True)
    service_loc_account_number = models.CharField(max_length=16, blank=True)
    service_loc_sub_account = models.CharField(max_length=4, blank=True)
    service_loc_address = models.CharField(max_length=64, blank=True)
    service_loc_city = models.CharField(max_length=48, blank=True)
    service_loc_county = models.CharField(max_length=48, blank=True)
    service_loc_state = models.CharField(max_length=32, blank=True)
    service_loc_zip = models.CharField(max_length=10, blank=True)
    service_loc_country = models.CharField(max_length=32, blank=True)
    service_loc_transformer_number = models.CharField(max_length=16, blank=True)
    service_loc_line_section = models.CharField(max_length=32, blank=True)
    service_loc_township = models.CharField(max_length=32, blank=True)
    service_loc_subdivision = models.CharField(max_length=32, blank=True)
    service_loc_block = models.CharField(max_length=32, blank=True)
    service_loc_lot = models.CharField(max_length=32, blank=True)
    service_loc_board_dist = models.CharField(max_length=32, blank=True)
    service_loc_district = models.CharField(max_length=32, blank=True)
    service_loc_tax_district = models.CharField(max_length=32, blank=True)
    service_loc_school_dist = models.CharField(max_length=32, blank=True)
    service_loc_sequence = models.IntegerField(null=True, blank=True)
    service_loc_route = models.IntegerField(null=True, blank=True)
    service_loc_cycle = models.IntegerField(null=True, blank=True)
    service_loc_expanded_location = models.CharField(max_length=48, blank=True)
    service_loc_cut_flag = models.NullBooleanField(null=True, blank=True)
    service_loc_svc_status = models.CharField(max_length=8, blank=True)
    start_date = models.DateTimeField(null=True, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    service_district = models.CharField(max_length=32, blank=True)
    cd740c = models.CharField(max_length=32, blank=True)
    ext740c = models.CharField(max_length=32, blank=True)
    cwp_year = models.CharField(max_length=8, blank=True)
    cfms_code = models.IntegerField(null=True, blank=True)
    worked_by = models.CharField(max_length=32, blank=True)
    num_images = models.IntegerField(null=True, blank=True)
    pending_state = models.CharField(max_length=1, blank=True)
    due_date = models.DateField(null=True, blank=True)
    notes = models.CharField(max_length=255, blank=True)
    dispatched = models.NullBooleanField(null=True, blank=True)
    assigned = models.NullBooleanField(null=True, blank=True)
    district = models.CharField(max_length=32, blank=True)
    first_dispatch_date = models.DateField(null=True, blank=True)
    overdue_date = models.DateField(null=True, blank=True)
    scheduled_time = models.DateTimeField(null=True, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    depends_on_wo = models.CharField(max_length=16, blank=True)
    weight = models.DecimalField(null=True, max_digits=4, decimal_places=1, blank=True)
    department = models.CharField(max_length=32, blank=True)
    service_maploc = models.CharField(max_length=20, blank=True)
    closed_comments = models.CharField(max_length=-1, blank=True)
    closed_by = models.CharField(max_length=32, blank=True)
    closed_when = models.DateTimeField(null=True, blank=True)
    closed_status = models.IntegerField(null=True, blank=True)
    deleted_date = models.DateTimeField(null=True, blank=True)
    deleted_by = models.CharField(max_length=32, blank=True)
    created_by_name = models.CharField(max_length=32, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=1, blank=True)
    on_hold = models.NullBooleanField(null=True, blank=True)
    class Meta:
        db_table = '"wfm"."work_order"'
        app_label='djangoproject'

#"Wfm"."WorkOrderHistory" had 0 rows.
class WfmWorkOrderHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    wo_number = models.CharField(max_length=16)
    wo_description = models.CharField(max_length=256, blank=True)
    wo_service = models.CharField(max_length=16, blank=True)
    wo_type = models.CharField(max_length=16, blank=True)
    wo_code = models.CharField(max_length=4, blank=True)
    reference_number = models.CharField(max_length=16)
    customer_name = models.CharField(max_length=32, blank=True)
    customer_account_number = models.CharField(max_length=16, blank=True)
    customer_sub_account = models.CharField(max_length=4, blank=True)
    customer_email = models.CharField(max_length=128, blank=True)
    customer_billing_daytime_phone = models.CharField(max_length=16, blank=True)
    customer_evening_phone = models.CharField(max_length=16, blank=True)
    customer_billing_address = models.CharField(max_length=48, blank=True)
    service_loc_location_number = models.CharField(max_length=16, blank=True)
    service_loc_account_number = models.CharField(max_length=16, blank=True)
    service_loc_sub_account = models.CharField(max_length=4, blank=True)
    service_loc_address = models.CharField(max_length=64, blank=True)
    service_loc_city = models.CharField(max_length=48, blank=True)
    service_loc_county = models.CharField(max_length=48, blank=True)
    service_loc_state = models.CharField(max_length=32, blank=True)
    service_loc_zip = models.CharField(max_length=10, blank=True)
    service_loc_country = models.CharField(max_length=32, blank=True)
    service_loc_transformer_number = models.CharField(max_length=16, blank=True)
    service_loc_line_section = models.CharField(max_length=32, blank=True)
    service_loc_township = models.CharField(max_length=32, blank=True)
    service_loc_subdivision = models.CharField(max_length=32, blank=True)
    service_loc_block = models.CharField(max_length=32, blank=True)
    service_loc_lot = models.CharField(max_length=32, blank=True)
    service_loc_board_dist = models.CharField(max_length=32, blank=True)
    service_loc_district = models.CharField(max_length=32, blank=True)
    service_loc_tax_district = models.CharField(max_length=32, blank=True)
    service_loc_school_dist = models.CharField(max_length=32, blank=True)
    service_loc_sequence = models.IntegerField(null=True, blank=True)
    service_loc_route = models.IntegerField(null=True, blank=True)
    service_loc_cycle = models.IntegerField(null=True, blank=True)
    service_loc_expanded_location = models.CharField(max_length=48, blank=True)
    service_loc_cut_flag = models.NullBooleanField(null=True, blank=True)
    service_loc_svc_status = models.CharField(max_length=8, blank=True)
    start_date = models.DateTimeField(null=True, blank=True)
    service_index = models.CharField(max_length=32, blank=True)
    service_district = models.CharField(max_length=32, blank=True)
    cd740c = models.CharField(max_length=32, blank=True)
    ext740c = models.CharField(max_length=32, blank=True)
    cwp_year = models.CharField(max_length=8, blank=True)
    cfms_code = models.IntegerField(null=True, blank=True)
    worked_by = models.CharField(max_length=32)
    num_images = models.IntegerField(null=True, blank=True)
    pending_state = models.CharField(max_length=1, blank=True)
    due_date = models.DateField(null=True, blank=True)
    notes = models.CharField(max_length=255, blank=True)
    dispatched = models.NullBooleanField(null=True, blank=True)
    assigned = models.NullBooleanField(null=True, blank=True)
    district = models.CharField(max_length=32, blank=True)
    first_dispatch_date = models.DateField(null=True, blank=True)
    overdue_date = models.DateField(null=True, blank=True)
    scheduled_time = models.DateTimeField(null=True, blank=True)
    assigned_area = models.CharField(max_length=16, blank=True)
    depends_on_wo = models.CharField(max_length=16, blank=True)
    weight = models.DecimalField(null=True, max_digits=4, decimal_places=1, blank=True)
    service_maploc = models.CharField(max_length=20, blank=True)
    department = models.CharField(max_length=32, blank=True)
    closed_comments = models.CharField(max_length=-1, blank=True)
    closed_by = models.CharField(max_length=32, blank=True)
    closed_when = models.DateTimeField(null=True, blank=True)
    closed_status = models.IntegerField(null=True, blank=True)
    deleted_date = models.DateTimeField(null=True, blank=True)
    deleted_by = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"wfm"."work_order_history"'
        app_label='djangoproject'

#"Wfm"."XmfrAction" had 0 rows.
class WfmXmfrAction(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    related_order_type = models.CharField(max_length=1, blank=True)
    related_order_number = models.CharField(max_length=16, blank=True)
    action = models.CharField(max_length=1, blank=True)
    coop = models.CharField(max_length=32, blank=True)
    size = models.CharField(max_length=16, blank=True)
    serial_number = models.CharField(max_length=-1, blank=True)
    manufacturer = models.CharField(max_length=16, blank=True)
    csp_fuse = models.CharField(max_length=1, blank=True)
    pad_pole = models.CharField(max_length=1, blank=True)
    pri_volt = models.CharField(max_length=6, blank=True)
    sec_volt = models.CharField(max_length=4, blank=True)
    bush = models.CharField(max_length=1, blank=True)
    connection_type = models.CharField(max_length=1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"wfm"."xmfr_action"'
        app_label='djangoproject'

#"Wfm"."XmfrActionHistory" had 0 rows.
class WfmXmfrActionHistory(models.Model):
    using = 'oms'
    recordid = models.IntegerField(primary_key=True)
    related_order_type = models.CharField(max_length=1, blank=True)
    related_order_number = models.CharField(max_length=16, blank=True)
    action = models.CharField(max_length=1, blank=True)
    coop = models.CharField(max_length=32, blank=True)
    size = models.CharField(max_length=16, blank=True)
    serial_number = models.CharField(max_length=-1, blank=True)
    manufacturer = models.CharField(max_length=16, blank=True)
    csp_fuse = models.CharField(max_length=1, blank=True)
    pad_pole = models.CharField(max_length=1, blank=True)
    pri_volt = models.CharField(max_length=6, blank=True)
    sec_volt = models.CharField(max_length=4, blank=True)
    bush = models.CharField(max_length=1, blank=True)
    connection_type = models.CharField(max_length=1, blank=True)
    create_date = models.DateTimeField(null=True, blank=True)
    created_by = models.CharField(max_length=32, blank=True)
    class Meta:
        db_table = '"wfm"."xmfr_action_history"'
        app_label='djangoproject'
